All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
SodiumInit.init now automatically handles multiple initializations and no
longer requires the initNative parameter for consecutive invocations (#3)
- The
initNative parameter of SodiumInit.init has been deprecated as it no
longer has any effect (#3)
SecureKey.split extension that allows to split one key into multiple (#2)
SecureKey.nativeHandle and SecureKey.fromNativeHandle to allow passing
secure keys across isolate boundaries
SodiumInit.init can now be called with initNative: false to disable
initialization of the native library, in case it has already been initialized
- Update dependencies
- Refactor integration tests and CI scripts
- Downgrade requirements for package meta to be compatible with flutter
- New libsodium API: crypto_kx
- Added missing tests for crypto_kdf
- New libsodium API:
- crypto_aead
- Only crypto_aead_xchacha20poly1305_ietf has been implemented for now
- crypto_kdf
- Improve secretstream API usage
- New libsodium API: crypto_shorthash
- Added the beforenm/afternm variants of crypto_box
- Removed sender/recipient prefixes from publicKey/secretKey parameters of Box
- Added missing
@internal on some internal classes
- New libsodium API: crypto_generichash
- New libsodium API: crypto_box_seal
- Set minimum required dart version to 2.13.0
- New libsodium API: crypto_auth
- Add
Sodium.secureCopy (#1)
- New libsodium APIS:
- padding
- memory
- randombytes
- crypto_secretbox
- crypto_secretstream
- crypto_pwhash
- Extended unit and integration tests
- Documentation
- Initial test release - not ready for use yet!