Stdlib: Crypto hashing builtins (SHA-256, HMAC-SHA256) #244
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
refactor
rust
technical-debt
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
navicore/patch-seq#244
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add cryptographic hashing builtins to enable JWT verification, webhook handling, secure tokens, and API authentication.
Proposed API
Implementation
FFI wrappers around Rust's RustCrypto ecosystem:
sha2crate for SHA-256/SHA-512hmaccrate for HMACsubtlecrate for constant-time comparisonEstimated effort: 1-2 days
Deliverables Checklist
crates/runtime/src/crypto.rstests/integration/src/test-crypto.seqBUILTIN_SIGNATURES, docs inBUILTIN_DOCSexamples/crypto/hash-demo.seqexamples/crypto/webhook-verify.seqdocs/BATTERIES_INCLUDED.mdstatusUse Cases Unlocked
References
docs/BATTERIES_INCLUDED.mdPriority 4: Cryptographyhttps://github.com/navicore/patch-seq/pull/254