crypto-lib

Stars
1

crypto-lib

An non blocking crypto lib that run on the browser and on node. Multi threading enabled by child_process on node and web workers in the browser. If the browser does not support Web worker computation will be done on the main thread.

Algorithms implanted AES, RSA and scrypt.

WARNING: This implementation of scrypt is VERY slow compared to alternatives from lower level programing language. Prefer native Web API SubtleCrypto for password derivation.

RSA support key generation from seed.

Light: 542KB minified, 17KB gziped.

Strongly typed.

Tests and benchmarks for the browser

npm run build

OR

npm run build -- -w