1.0.8 • Published 4 years ago
js-umbral v1.0.8
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