hmac_auth_builder 0.0.1 copy "hmac_auth_builder: ^0.0.1" to clipboard
hmac_auth_builder: ^0.0.1 copied to clipboard

HMAC-based request signing for Dart and Flutter, designed for secure API authentication and webhook verification. The library produces signatures that are compatible with the Node.js package `hmac-aut [...]

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.


1.0.0 - 2026-02-02 #

Added #

  • Initial release of HMAC signature generation and verification.
  • Support for canonical string signing with customizable field order.
  • Multiple hash algorithms: SHA-256, SHA-512, SHA-384, SHA-1, MD5.
  • Multiple output encodings: hex, base64, base64url.
  • Configurable timestamp formats: milliseconds, seconds, unix, ISO8601.
  • Configurable nonce formats: UUID v4, UUID v1, random hex, random base64, custom generator.
  • Timestamp tolerance configuration for replay attack prevention.
  • Full cross-platform compatibility with Node.js hmac-auth-builder package.
  • Comprehensive test suite with unit tests and cross-platform verification examples.
  • Documentation with usage examples and integration patterns.

[Unreleased] #

Planned #

  • Built-in middleware for Dart Shelf framework.
  • Performance benchmarks and optimization for high-throughput scenarios.
  • Support for batch signature verification.

0
likes
125
points
23
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

HMAC-based request signing for Dart and Flutter, designed for secure API authentication and webhook verification. The library produces signatures that are compatible with the Node.js package `hmac-auth-builder`, enabling consistent verification between mobile clients and backend services.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

crypto, flutter, uuid

More

Packages that depend on hmac_auth_builder