hmac_auth_builder 0.0.1
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-builderpackage. - 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.