pinenacl
The Dart implementation of the PyNaCl APIs with the TweetNaCl cryptographic library
0.6.0
138K downloads/mo
#989 most downloaded on pub.dev
ilap/pinenacl-dart
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Ships unpredictably
gaps range from 8 days to 1.9 years
Nearly every release is documented
notes for 18 of 19 stable releases
1 version withdrawn
withdrawn after publishing
7 years old
33 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
33 releases · Sep 2019 to May 2024Releases
latest 33-
0.6.022 May 2024 -
0.5.113 Jul 2022 -
0.5.013 Jul 2022Release notes
Open source →PineNaCl v0.5.0 adds refined constructors for the
ByteListbase 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
Release notes
Open source →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.211 Jul 2022 -
0.4.111 Jul 2022 -
0.4.006 Jul 2022 -
0.3.505 Jul 2022 withdrawnRelease notes
Open source →Fixing LateInitializationError: Field 'prefixLength' has not been initialized - take 2 (#18).
-
0.3.425 Apr 2022 -
0.3.320 Jul 2021 -
0.3.219 Jul 2021Release notes
Open source →Fixed #15 that caused the ciphertext differ from messages bigger than 16KB
-
0.3.126 May 2021 -
0.3.025 May 2021 -
0.2.122 May 2021 -
0.2.006 Mar 2021Nothing published for this version
-
0.2.0-nullsafety.925 Jan 2021 pre-releaseNothing published for this version
-
0.2.0-nullsafety.821 Jan 2021 pre-release -
0.2.0-nullsafety.719 Jan 2021 pre-release -
0.2.0-nullsafety.617 Jan 2021 pre-release -
0.2.0-nullsafety.413 Jan 2021 pre-release -
0.2.0-nullsafety.312 Jan 2021 pre-release -
0.2.0-nullsafety.121 Dec 2020 pre-release -
0.2.0-nullsafety.025 Nov 2020 pre-releaseRelease notes
Open source →- 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.520 Nov 2020Release notes
Open source →- 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
- Reverted SHA-256 changes back as it behaved differently on JIT and AOT
i.e. failed test for
-
0.1.419 Nov 2020Release notes
Open source →- Removed fixnum dependency from poly1305
- Code cleanup and removing fixnum dependencies from some modules.
- Bumped version to 0.1.4
Closed issues:
-
0.1.328 Oct 2020 -
0.1.3-dev.117 Dec 2019 pre-releaseNothing published for this version
-
0.1.201 Oct 2019Release notes
Open source →- 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.
v0.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.
v0.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.
v0.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
v0.1.2-dev.1
- Added Class diagrams.
- Added ByteList's immutability tests.
-
0.1.2-dev.324 Sep 2019 pre-releaseNothing published for this version
-
0.1.2-dev.218 Sep 2019 pre-releaseNothing published for this version
-
0.1.2-dev.118 Sep 2019 pre-releaseNothing published for this version
-
0.1.113 Sep 2019Release notes
Open source →- 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
v0.1.1-dev.2
- Refactored the
EncryptionMessageclasses
v0.1.1-dev.1
- Added the
Curve25519's officialDH (Diffie-Hellman)test vector. - Added the
Wycheproof's X25519 test vectors.
-
0.1.008 Sep 2019Release notes
Open source →- 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.
v0.1.0-dev.1
- The initial
draftversion.
- Added the
-
0.1.0-dev.106 Sep 2019 pre-releaseNothing published for this version