Expand description
Cryptographic operations for Seq
FFI entry points are grouped into per-primitive sub-modules and re-exported here so the flat public surface is unchanged.
§API
sha256,hmac-sha256,constant-time-eq—hashrandom-bytes,uuid4,random-int—randomaes-gcm-encrypt,aes-gcm-decrypt—aespbkdf2-sha256—pbkdfed25519-keypair,ed25519-sign,ed25519-verify—ed25519
Functions§
- patch_
seq_ ⚠constant_ time_ eq - Timing-safe string comparison
- patch_
seq_ ⚠crypto_ aes_ gcm_ decrypt - Decrypt ciphertext using AES-256-GCM
- patch_
seq_ ⚠crypto_ aes_ gcm_ encrypt - Encrypt plaintext using AES-256-GCM
- patch_
seq_ ⚠crypto_ ed25519_ keypair - Generate an Ed25519 keypair
- patch_
seq_ ⚠crypto_ ed25519_ sign - Sign a message with an Ed25519 private key
- patch_
seq_ ⚠crypto_ ed25519_ verify - Verify an Ed25519 signature
- patch_
seq_ ⚠crypto_ pbkdf2_ sha256 - Derive a key from a password using PBKDF2-SHA256
- patch_
seq_ ⚠hmac_ sha256 - Compute HMAC-SHA256 of a message with a key
- patch_
seq_ ⚠random_ bytes - Generate cryptographically secure random bytes
- patch_
seq_ ⚠random_ int - Generate a cryptographically secure random integer in a range
- patch_
seq_ ⚠sha256 - Compute SHA-256 hash of a string
- patch_
seq_ ⚠uuid4 - Generate a UUID v4 (random)