Package Exports
- eth-crypto-js
- eth-crypto-js/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eth-crypto-js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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
- createIdentity()
- publicKeyByPrivateKey()
- publicKey.toAddress()
- publicKey.compress()
- publicKey.decompress()
- sign()
- recover()
- recoverPublicKey()
- encryptWithPublicKey()
- 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.