Fork of asmcrypto.js
Fork of asmcrypto.js initially intended to exclude some primitives from the build. This is maintained as a fallback for environments where more modern alternatives are not available.
Only the following classes are kept:
- SHA-2-256
- SHA-2-512
- PBKDF2(SHA-2-256)
- PKKDF2(SHA-2-512)
- AES
Original README
JavaScript implementation of popular cryptographic utilities with performance in mind.
Build & Test
Then download and build the stuff:
git clone https://github.com/asmcrypto/asmcrypto.js.git
cd asmcrypto.js/
npm install
Running tests is always a good idea:
npm test
Congratulations! Now you have your asmcrypto.js
ready to use
Support
- NodeJS 10
- IE11
- last two Chrome versions
- last two Firefox versions and the latest Firefox ESR
- last two Edge versions
- last two Safari versions
AsmCrypto 2.0
- Moved to TypeScript
- I have no confident knowledge on random generation, so I don't feel right maintaining it. As of 2.0 all custom random generation and seeding code is removed, the underlying browsers and environments have to provide secure random.