- Updated for the 3.x SDK version.
- Updated CI
Increased ByteList's max length to 1MB
API Break changes see details below:
- Renamed HexCoder to Base16Encoder to align with Base32, Bech32 implementations
- Rename Bech32Coder to Bech32Encoder for similar reasons above.
- Added decodeNoHrpCheck static fucntion to Bech32Encoder for being able to decode and alreay encoded bech32 string.
- Made internal Bech32 classes private.
- Removed unnecessary fromList constructors, as ByteList based default constructors require Iterable
- Added
- ByteList.withConstraint: Create a ByteList wit min, max length set to constraint specified
- ByteList.decodeWithConstraint: Same as above but from (base16, bech32 etc) encoded strings.
- ByteList.withConstraintRange: Create a ByteList within the min, max length range i.e., the created ByteList mist be in the range.
- ByteList.decodeWithConstraintRange: Same as above but from (base16, bech32 etc) encoded strings.
- Refactored the code based on these above changes.
Added bytes length for decoding ByteList
Updated CHANGELOG Updated README.md Switched to lint
Bumped to v0.4.0 due to the v0.3.5's API breaks
Fixing LateInitializationError: Field 'prefixLength' has not been initialized - take 2 (#18).
Fixing SigningKey decode issue (#17).
Remove unnecessry 0xff masks.
Fixed #15 that caused the ciphertext differ from messages bigger than 16KB
Breaking Changes
v0.2.1 (2021-05-23)
v0.2.0 (2021-03-06)
v0.2.0-nullsafety.8 (2021-01-20)
v0.2.0-nullsafety.7 (2021-01-19)
v0.2.0-nullsafety.6 (2021-01-17)
v0.2.0-nullsafety.5 (2021-01-15)
v0.2.0-nullsafety.4 (2021-01-13)
v0.2.0-nullsafety.3 (2021-01-11)
v0.2.0-nullsafety.2 (2021-01-10)
v0.2.0-nullsafety.1 (2020-12-21)
Merged pull requests:
Merged pull requests:
v0.2.0-nullsafety.0 (2020-11-20)
- Pre-release for the null safety migration of this package.
- Reformatted CHANGELOG.md
- Added
in-house
HexCoder class - Refactored, cleaned the code for preparing
null-safety
- Removed
hex
,bech32
andconvert
package dependencies - Added analyzer strong-mode's
implicit-casts: false
andimplicit-dynamic: false
v0.1.5 (2020-11-20)
- Reverted SHA-256 changes back as it behaved differently on JIT and AOT
i.e. failed test for
pub run test
but not forpub run tests/all*dart
- Fixed imports
v0.1.4 (2020-11-20)
- Removed fixnum dependency from poly1305
- Code cleanup and removing fixnum dependencies from some modules.
- Bumped version to 0.1.4
Closed issues:
- Will this project be supported and maintained going forward? #5
- Support for HKDF (RFC 5869) #4
- Second constructor for EncryptedMessage #3
v0.1.3 (2019-10-03)
- Added constructor for
EncryptedMessage
class, see #3
v0.1.2 (2019-10-01)
- Complete refactor of the API and the base classes.
- Added API class diagrams.
- Swapped
Bech32
back to the latest and working pub package. - Refactored the
decode
factories.
- Refactored
SuffixByteList
class toSuffix
mixin. - Updated README.md (added HMAC, SHA-256)
- Refactored the
Encoding
classes. - Swapped
Bech32
to the github version, as pub package does not have custom length for messages.
- Added SHA-256.
- Added SHA-256 unit tests with the official testvectors.
- Fixed some typos.
- Added crypto_scalar_base for Ed25519Bip32 compatibility
- Added Encoding classes.
- Renamed
ed25519_vectors.json
(RFC8032's EdDSA) toeddsa_ed25519_vectors.json
.
- Added TweetNaclExt (Extension) class, that implements the HMAC-SHA-512's based
crypto_auth
andcrypto_auth_verify
functions of theNaCl
library (does not exists in TweetNaCl). - Added HMAC-SHA-512.
- Added HMAC-SHA-512 unit tests.
- Added some
TweetNaCl
's tests. - Cleaned some code.
- Fixed exports.
- Renamed _EncryptionMessage class to SuffixByteList.
- Fixed
ByteList
's constructor
- Added Class diagrams.
- Added ByteList's immutability tests.
v0.1.1 (2019-09-08)
- Refactored the library for using a simplified API.
- Refactored
AsymmetricKey
andAsymmetricPrivateKey
classes. - Refactored
ByteList
to beunmodofiable
- Refactored
EncrytpionMessage
based classes e.g.EncryptedMessage
,SealedMessage
andSignedMessage
. - Refactored
SigningKey
andVerifyKey
by addingSign
andVerify
interfaces. - Bumped version to 0.1.1
- Refactored the
EncryptionMessage
classes
- Added the
Curve25519
's officialDH (Diffie-Hellman)
test vector. - Added the
Wycheproof
's X25519 test vectors.
v0.1.0 (2019-09-07)
- Added the
byte-length
official SHA-512 test vectors. - Added
hashing
example - Allowed
personalisation
paramater to be less then 16 bytes long by zero-padding to 16 bytes.
- The initial
draft
version.