1.0.5 • Published 5 years ago
js-nucypher v1.0.5
A decentralized cryptological network offering accessible, intuitive, and extensible runtimes and interfaces for secrets management and dynamic access control.
jsNucypher
A partial, but working Javascript implementation of Nucypher
Currently supported characters
- Enrico (the encryptor)
Install
yarn add js-nucypher
quickstart
import { Enrico } from 'js-nucypher'
const enrico = new Enrico(<a policy encrypting key from nucypher>, signingKeyPair=null)
const {messagekit, signature} = enrico.encryptAndSignMessage('your message here.')
a working example can be found here