hyperlane-plugin-webhook 23.2.0

A production inbound HTTP webhook verification plugin for the Hyperlane framework featuring zero-allocation precomputed-midstate pure-Rust HMAC-SHA256 (Hex, Base64, and Stripe-style timestamped schemes), per-route secret rotation, timestamp skew enforcement, 64-shard bounded TTL replay-nonce caching, and verified WebhookEvent Context injection.
Documentation
1
2
3
4
use super::*;

/// Replay shard hash table keyed by uniform 32-byte SHA-256 digests with identity hashing.
pub(crate) type ReplayShardMap = HashMap<[u8; 32], u64, BuildHasherDefault<DigestIdentityHasher>>;