eth-crypto-js
v0.2.17
Published
Cryptographic javascript-functions for ethereum and tutorials on how to use them together with web3js and solidity
Downloads
1,429
Readme
Eth-crypto-js
Eth-crypto-js is clone of https://github.com/pubkey/eth-crypto intend to provide cross javasctipt support of cryptographic javascript-functions for ethereum and tutorials on how to use them together with web3js and solidity.
How to install
yarn add eth-crypto-js
or
npm install --save eth-crypto-js
How to use
yarn add eth-crypto-js
or
npm install eth-crypto-js
Supported API
- [x] createIdentity()
- [x] publicKeyByPrivateKey()
- [ ] publicKey.toAddress()
- [ ] publicKey.compress()
- [ ] publicKey.decompress()
- [x] sign()
- [ ] recover()
- [x] recoverPublicKey()
- [x] encryptWithPublicKey()
- [x] decryptWithPrivateKey()
- [ ] cipher.stringify()
- [ ] cipher.parse()
- [ ] signTransaction()
- [ ] txDataByCompiled()
- [ ] calculateContractAddress()
- [ ] hex.compress() hex.decompress()
Issues
Should it happen that the tool broke down on you please head to our Issue tracker
- Search if the issue is already discussed or explained.
- If no luck feel free to open a new issue and we will get back to you as soon as possible.