Expand description
Cryptographic utilities.
Functionsยง
- constant_
time_ eq - Constant-time string comparison.
- generate_
random_ bytes - Generate a secure random byte array.
- generate_
random_ string - Generate a secure random string.
- generate_
token - Generate a secure token.
- sha256
- Compute SHA256 hash.
- sha256_
hex - Compute SHA256 hash and return as hex string.