pinenacl 0.6.0
pinenacl: ^0.6.0 copied to clipboard
The Dart implementation of the PyNaCl APIs with the TweetNaCl cryptographic library
Changelog #
0.6.0 #
Updated for the 3.x SDK version.
0.5.1 #
Increased ByteList's max length to 1MB
0.5.0 #
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.
0.4.2 #
Added bytes length for decoding ByteList
0.4.1 #
Updated CHANGELOG Updated README.md Switched to lint
0.4.0 #
Bumped to v0.4.0 due to the v0.3.5's API breaks
0.3.5 #
Fixing LateInitializationError: Field 'prefixLength' has not been initialized - take 2 (#18).
0.3.4 #
Fixing SigningKey decode issue (#17).
0.3.3 #
Remove unnecessry 0xff masks.
0.3.2 #
Fixed #15 that caused the ciphertext differ from messages bigger than 16KB
0.3.0 #
Breaking Changes
0.2.1 - 2021-05-23 #
0.2.0 - 2021-03-06 #
0.2.0-nullsafety.8 - 2021-01-20 #
0.2.0-nullsafety.7 - 2021-01-19 #
0.2.0-nullsafety.0 - 2020-11-20 #
- Pre-release for the null safety migration of this package.
- Reformatted CHANGELOG.md
- Added
in-houseHexCoder class - Refactored, cleaned the code for preparing
null-safety - Removed
hex,bech32andconvertpackage dependencies - Added analyzer strong-mode's
implicit-casts: falseandimplicit-dynamic: false
0.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 testbut not forpub run tests/all*dart - Fixed imports
0.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:
0.1.3 - 2019-10-03 #
- Added constructor for
EncryptedMessageclass, see ilap/pinenacl-dart#3
0.1.2 - 2019-10-01 #
- Complete refactor of the API and the base classes.
- Added API class diagrams.
- Swapped
Bech32back to the latest and working pub package. - Refactored the
decodefactories.
0.1.2-dev.4 #
- Refactored
SuffixByteListclass toSuffixmixin. - Updated README.md (added HMAC, SHA-256)
- Refactored the
Encodingclasses. - Swapped
Bech32to the github version, as pub package does not have custom length for messages.
0.1.2-dev.3 #
- 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.
0.1.2-dev.2 #
- Added TweetNaclExt (Extension) class, that implements the HMAC-SHA-512's based
crypto_authandcrypto_auth_verifyfunctions of theNaCllibrary (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
0.1.2-dev.1 #
- Added Class diagrams.
- Added ByteList's immutability tests.
0.1.1 - 2019-09-08 #
- Refactored the library for using a simplified API.
- Refactored
AsymmetricKeyandAsymmetricPrivateKeyclasses. - Refactored
ByteListto beunmodofiable - Refactored
EncrytpionMessagebased classes e.g.EncryptedMessage,SealedMessageandSignedMessage. - Refactored
SigningKeyandVerifyKeyby addingSignandVerifyinterfaces. - Bumped version to 0.1.1
0.1.1-dev.2 #
- Refactored the
EncryptionMessageclasses
0.1.1-dev.1 #
- Added the
Curve25519's officialDH (Diffie-Hellman)test vector. - Added the
Wycheproof's X25519 test vectors.
0.1.0 - 2019-09-07 #
- Added the
byte-lengthofficial SHA-512 test vectors. - Added
hashingexample - Allowed
personalisationparamater to be less then 16 bytes long by zero-padding to 16 bytes.
0.1.0-dev.1 #
- The initial
draftversion.