- [bug fix] Cleaner node crypto imports to fix use with some bundlers
- [enhancement] Stop using deprecated Buffer.slice
- [enhancement] Update dependencies
- [enhancement] Update dependencies
- [bug fix] Fix import in certain typescript environments
- [enhancement] Update dependencies
- [enhancement] Exporting types for key instances
- [bug fix] Fix
encryptStream
&decryptStream
in node@16 for large chunks
- [enhancement] Exporting type for SSCrypto implementation
- [enhancement] Update documentation
- [enhancement] Massive rewrite.
- [new feature] Creating a new SymKey should be done through
SymKey.generate(size)
. Usingnew SymKey(size)
is deprecated. - [new feature] There are now both sync and async versions of functions.
- [new feature] (Async only) Asym encryption/decryption with actual WebCrypto: much faster.
- [enhancement] Compatibility with Edge 1x and Safari
- Update dependencies
- Remove useless test files in exported package
- Fix webcrypto encryptStream with small chunks
- Implement initial sscrypto/webcrypto. For now, it uses actual webcrypto for generating randomness, for generating AsymKeys, and for SymKey's encryptStream & decryptStream. For everything else, or if webcrypto is unavailable, it falls back to forge.
- Update dependencies
- Minor change of import style to avoid deprecation warnings
- Go with Forge's way of serializing publicKeys for legacy purposes
- Add util functions for sha256 and randomBytes
- Fix a bug that caused the Forge and Node implementations to have different serializations of publicKeys
- remove getB64hash() PublicKey method, and change the behaviour of getHash()
- Update dependencies
- Put forge as a peerDependency
- Initial version