bumo-encryption
bumo-encryption Sub module of bumo-sdk-js.
bumo-encryption Installation
npm install bumo-encryption --save
bumo-encryption Test
npm test
bumo-encryption Usage
'use strict'; const encryption = ; const KeyPair = encryptionkeypair;const signature = encryptionsignature;const keystore = encryptionkeystore; let kp = ;// Get encPrivateKey, encPublicKey, addresslet encPrivateKey = kp;let encPublicKey = kp;let address = kp; console;console;console;console;console; // Get keypairlet keypair = KeyPair; // Get encPublicKeylet encPublicKey = KeyPair; // Get addresslet address = KeyPair; // check encPrivateKeyKeyPair; // check encPublicKeyKeyPair; // check addressKeyPair; // signature sign and verifylet sign = signature;let verify = signature; // keystorekeystore;