* fix: add buffer, cleanup, reduce size
- add buffer related to https://github.com/ipfs/js-ipfs/issues/2924
- remove unnecessary eslint ignore
- remove tweelnacl and use node-forge
- remove browserify-aes and use node-forge
- use multibase to encode b58
- require only sha256 from multihashing
- reduce bundle size
after all the deps here https://github.com/ipfs/js-ipfs/issues/2924 are merged libp2p-crypto will be able to be bundle with `node: false` 🎉
* fix: reduce bundle size
* fix: use new secp
* fix: bundle size
* chore: update secp
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
BREAKING CHANGE: getRandomValues method exported from src/keys/rsa-browser.js and src/keys/rsa.js signature has changed from accepting an array to a number for random byte length
* fix: avoid sync callback in async function
* chore: fix linting
* chore: remove non jenkins ci
* refactor: use nextTick over setImmediate
* refactor: async/nextTick for better browser support