PackageTrack
Sign in Get early access

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 2024
2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 33
  1. 0.6.0 22 May 2024
    Release notes
    • Updated for the 3.x SDK version.
    • Updated CI
    Open source →
  2. 0.5.1 13 Jul 2022
    Release notes

    Increased ByteList's max length to 1MB

    Open source →
  3. 0.5.0 13 Jul 2022
    Release notes

    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

    Open source →
    Release notes

    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.
    Open source →
  4. 0.4.2 11 Jul 2022
    Release notes

    Added bytes length for decoding ByteList

    Open source →
  5. 0.4.1 11 Jul 2022
    Release notes

    Updated CHANGELOG Updated README.md Switched to lint

    Open source →
  6. 0.4.0 06 Jul 2022
    Release notes

    Bumped to v0.4.0 due to the v0.3.5's API breaks

    Open source →
  7. 0.3.5 05 Jul 2022 withdrawn
    Release notes

    Fixing LateInitializationError: Field 'prefixLength' has not been initialized - take 2 (#18).

    Open source →
  8. 0.3.4 25 Apr 2022
    Release notes

    Fixing SigningKey decode issue (#17).

    Open source →
  9. 0.3.3 20 Jul 2021
    Release notes

    Bumped version to v0.3.3

    Open source →
    Release notes

    Remove unnecessry 0xff masks.

    Open source →
  10. 0.3.2 19 Jul 2021
    Release notes

    Fixes #15

    Open source →
    Release notes

    Fixed #15 that caused the ciphertext differ from messages bigger than 16KB

    Open source →
  11. 0.3.1 26 May 2021
    Release notes

    Refactoring - ByteList, Uint8List, List

    Open source →
  12. 0.3.0 25 May 2021
    Release notes

    Breaking Changes

    Open source →
  13. 0.2.1 22 May 2021
    Release notes

    Fixed SigningKey prefix/suffix

    Open source →
  14. 0.2.0 06 Mar 2021

    Nothing published for this version

  15. 0.2.0-nullsafety.9 25 Jan 2021 pre-release

    Nothing published for this version

  16. 0.2.0-nullsafety.8 21 Jan 2021 pre-release
    Release notes

    Implemented benchmarks API similar to PointyCastle ones.

    Open source →
    Release notes Open source →
  17. 0.2.0-nullsafety.7 19 Jan 2021 pre-release
    Release notes Open source →
  18. 0.2.0-nullsafety.6 17 Jan 2021 pre-release
    Release notes

    Full Changelog

    Changelog

    Open source →
  19. 0.2.0-nullsafety.4 13 Jan 2021 pre-release
    Release notes

    Full Changelog

    Changelog

    Open source →
  20. 0.2.0-nullsafety.3 12 Jan 2021 pre-release
    Release notes

    Full Changelog

    Changelog

    Open source →
  21. 0.2.0-nullsafety.1 21 Dec 2020 pre-release
    Release notes

    Full Changelog

    Merged pull requests:

    • Pre-release for the null safety migration of this package. #7 (ilap)

    Changelog

    Full Changelog

    Merged pull requests:

    • Pre-release for the null safety migration of this package. #7 (ilap)
    Open source →
  22. 0.2.0-nullsafety.0 25 Nov 2020 pre-release
    Release notes

    Full Changelog

    • 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 and convert package dependencies
    • Added analyzer strong-mode's implicit-casts: false and implicit-dynamic: false
    Open source →
  23. 0.1.5 20 Nov 2020
    Release notes

    Full Changelog

    • Reverted SHA-256 changes back as it behaved differently on JIT and AOT i.e. failed test for pub run test but not for pub run tests/all*dart
    • Fixed imports
    Open source →
  24. 0.1.4 19 Nov 2020
    Release notes

    Full Changelog

    • 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
    Open source →
  25. 0.1.3 28 Oct 2020
    Release notes

    Full Changelog

    • Added constructor for EncryptedMessage class, see ilap/pinenacl-dart#3
    Open source →
  26. 0.1.3-dev.1 17 Dec 2019 pre-release

    Nothing published for this version

  27. 0.1.2 01 Oct 2019
    Release notes

    Full Changelog

    • 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.

    v0.1.2-dev.4

    • Refactored SuffixByteList class to Suffix 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.

    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) to eddsa_ed25519_vectors.json.

    v0.1.2-dev.2

    • Added TweetNaclExt (Extension) class, that implements the HMAC-SHA-512's based crypto_auth and crypto_auth_verify functions of the NaCl 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

    v0.1.2-dev.1

    • Added Class diagrams.
    • Added ByteList's immutability tests.
    Open source →
  28. 0.1.2-dev.3 24 Sep 2019 pre-release

    Nothing published for this version

  29. 0.1.2-dev.2 18 Sep 2019 pre-release

    Nothing published for this version

  30. 0.1.2-dev.1 18 Sep 2019 pre-release

    Nothing published for this version

  31. 0.1.1 13 Sep 2019
    Release notes

    Full Changelog

    • Refactored the library for using a simplified API.
    • Refactored AsymmetricKey and AsymmetricPrivateKey classes.
    • Refactored ByteList to be unmodofiable
    • Refactored EncrytpionMessage based classes e.g. EncryptedMessage, SealedMessage and SignedMessage.
    • Refactored SigningKey and VerifyKey by adding Sign and Verify interfaces.
    • Bumped version to 0.1.1

    v0.1.1-dev.2

    • Refactored the EncryptionMessage classes

    v0.1.1-dev.1

    • Added the Curve25519's official DH (Diffie-Hellman) test vector.
    • Added the Wycheproof's X25519 test vectors.
    Open source →
  32. 0.1.0 08 Sep 2019
    Release notes

    Full Changelog

    • 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.

    v0.1.0-dev.1

    • The initial draft version.
    Open source →
  33. 0.1.0-dev.1 06 Sep 2019 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive