Skip to main content

Module crypto

Module crypto 

Source
Expand description

Cryptographic primitives shared across backend implementations.

RFC-023 Phase 2b.2.1: the Postgres + SQLite backends both need Rust-side HMAC sign/verify for waitpoint tokens (the Valkey backend signs inside Lua, so it does not consume this module). Extracted from ff-backend-postgres/src/signal.rs with zero behaviour change — same output bytes, same token wire shape, same error taxonomy.

See hmac for the primitives.

Modules§

hmac
HMAC-SHA256 sign/verify for kid:hex tokens.