Releases: ilap/pinenacl-dart
Releases · ilap/pinenacl-dart
PineNaCl 0.5.0
PineNaCl v0.5.0 adds refined constructors for the ByteList
base class and slight changes on other modules.
Breaking Changes
- 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.
Known Issues
Please check issues here