
Elliptic curve cryptography functions (ECC)
Private Key, Public Key, Signature, AES, Encryption / Decryption
Usage (Node)
npm i eos-ecc
const {PrivateKey, PublicKey, Signature, Aes} = require('eos-ecc')
privateWif = PrivateKey.randomKey().toWif()
pubkey = PrivateKey.fromWif(privateWif).toPublic().toString()
Browser (build eos_ecc.js below)
<script src=eos_ecc.js></script>
var {PrivateKey} = eos_ecc
var privateWif = PrivateKey.randomKey().toWif()
var pubkey = PrivateKey.fromWif(privateWif).toPublic().toString()
console.log(pubkey)
Configure
const {config} = require('eos-ecc')
See Config
See Also
Build
Dependencies: Unix like OS, sha256sum
git clone https://github.com/eosjs/ecc.git
cd ecc
yarn
yarn build
Releases
- v1.0.0 - sha256 3f8ae6c183f18cd4a6e6b5a7fac2958a3a4071f2abe6dc0286dc30e10068851b