crypto_hmac 1.0.0 copy "crypto_hmac: ^1.0.0" to clipboard
crypto_hmac: ^1.0.0 copied to clipboard

HMAC SHA256 - AES based encrypt/decrypt .

crypto_hmac #

crypto_hmac is a Dart package for generating and verifying secure tokens using AES encryption combined with HMAC SHA-256 hashing.

This is useful for scenarios like securely transferring short payloads, such as IDs, encrypted JSON strings, or sensitive parameters.


✨ Features #

  • 🔐 AES encryption/decryption (compatible with CryptoJS)
  • 🔒 HMAC-SHA256 signature generation
  • ✅ Token integrity validation on decryption
  • 🔄 Stateless: just encrypt and decrypt with the same secret key

🚀 Installation #

Add the package to your pubspec.yaml:

dependencies:
  crypto_hmac: ^1.0.0
0
likes
130
points
47
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

HMAC SHA256 - AES based encrypt/decrypt .

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

convert, crypto, encrypt, tuple

More

Packages that depend on crypto_hmac