- Bump dependencies
- Add
PublicKey.toBytes
and deprecatePublicKey.compressed
andPublicKey.uncompressed
- Save uncompressed public key data for secp256k1
- Revamp encapsulate/decapsulate
- Revamp symmetric encryption/decryption
- Revamp elliptic utils
- Add browser tests
- Fix commonjs build
- Add examples
- Update documentation
- Migrate to vitest
- Export all modules to allow full customization
- Introduce
@ecies/ciphers
as symmetric cipher adapter for different platforms- Use pure JS (
@noble/ciphers
) AES implementation if running in browsers to improve compatibility - Use
node:crypto
's chacha20 implementation on Node runtime to improve performance
- Use pure JS (
- Revamp util functions
- Drop Node 16 support
- Support curve25519 (x25519 and ed25519) tentatively
- Revamp browser compatibility
- Fix symmetric encryption internal types
- Add XChaCha20 as an optional encryption backend
- Add configuration for more compatibility
- Bump dependencies
- Change secp256k1 library to audited noble-curves
- Change hash library to audited noble-hashes
- Change test library to jest
- Bump dependencies
- Drop Node 14 support
- Revamp tests
- Support Node 18, 20
- Drop Node 10, 12 support
- Bump dependencies
- Update documentation
- Extract constant variables and rename some parameters
- Revamp CI
- Migrate to vitest
- API change:
encrypt/decrypt
now can take both hexstring
andBuffer
- API change: use
HKDF-sha256
to derive shared keys instead ofsha256
- Bump dependencies
- Update documentation
- Bump dependencies
- Update documentation
- First beta version release