Wondering what’s next for npm?Check out our public roadmap! »

js-umbral

1.0.8 • Public • Published

Markdown Monster icon

jsUmbral

A partial, but working Javascript implementation of Umbral encryption by Nucypher

Reverently ported/copied from pyUmbral to be 100% compatible for use with Nucypher

Additional info on Umbral:

Install

yarn add js-umbral

Currently supported features
  • encrypt
import { pre, defaultCurve } from 'js-umbral'

const keypair = defaultCurve.genKeyPair()
keypair.getPublic()
const { ciphertext, capsule } = pre.encrypt(keypair.pub, 'You will ride eternal, shiny and chrome.')

to run the tests

  • clone this repo
  • yarn install
  • yarn test
you may wish to familiarize yourself with these essential component libraries

Install

npm i js-umbral

DownloadsWeekly Downloads

10

Version

1.0.8

License

AGPL-3.0-only

Unpacked Size

75.6 kB

Total Files

21

Last publish

Collaborators

  • avatar