my_salt 1.2.0 copy "my_salt: ^1.2.0" to clipboard
my_salt: ^1.2.0 copied to clipboard

Authenticated text and binary encryption for Dart with AES-256-GCM, associated data, rotation, and CryptoJS migration.

1.2.0 #

  • add external associated data (AAD) to bind ciphertext to application context
  • add binary encryption and decryption APIs
  • add configurable plaintext and associated-data resource limits
  • reject oversized Base64 envelopes before key derivation
  • add safe nullable decryption helpers for untrusted input
  • compare authenticated values without an early exit
  • expose public envelope metadata inspection and upgrade detection
  • add passphrase rotation and one-call CryptoJS migration helpers
  • preserve compatibility with authenticated envelopes created by version 1.1.0
  • add parser fuzz-like tests, advanced examples, migration documentation, and an envelope format specification

1.1.0 #

  • add authenticated AES-256-GCM encryption with a versioned Base64 envelope
  • derive keys with PBKDF2-HMAC-SHA256 using a fresh 128-bit salt
  • authenticate envelope metadata and reject modified or malformed ciphertext
  • keep the existing CryptoJS Salted__ API for migration and mark it legacy
  • validate legacy envelope prefixes, lengths, and AES block boundaries
  • update the minimum SDK to Dart 3.13.1 and refresh dependencies
  • expand tests for authentication, tampering, invalid formats, and compatibility
  • migrate CI and maintainer commands from Flutter CLI to Dart CLI
  • update examples, API documentation, migration guidance, and security policy

1.0.3+5 #

  • update example comments to English
  • update publish ignore list

1.0.2+4 #

  • add coverage workflow
  • add Makefile gen-pass target and docs
  • update README badges and contribution info
  • expand test coverage

1.0.1 #

  • add document

1.0.0 #

  • first version.
2
likes
160
points
12
downloads
screenshot

Documentation

Documentation
API reference

Publisher

verified publisherwongcoupon.com

Weekly Downloads

Authenticated text and binary encryption for Dart with AES-256-GCM, associated data, rotation, and CryptoJS migration.

Repository (GitHub)
View/report issues

Topics

#aes-gcm #cryptography #encryption #password #security

Funding

Consider supporting this project:

ko-fi.com

License

MIT (license)

Dependencies

crypto, cryptography, encrypt

More

Packages that depend on my_salt