Expand description
Cryptographic digest builtins (SHA-256, SHA-512, BLAKE3, CRC32).
Provides digest(x, algo) for hashing character strings, md5(x) as
an error stub directing users to SHA-256, and BLAKE3 builtins for fast
hashing of strings, raw vectors, and files. CRC32 is available via
digest(x, algo="crc32") using the crc32fast crate.
StaticsΒ§
- __
BUILTIN_ πREG_ BUILTIN_ BASE64DEC - __
BUILTIN_ πREG_ BUILTIN_ BASE64ENC - __
BUILTIN_ πREG_ BUILTIN_ BLAK E3 - __
BUILTIN_ πREG_ BUILTIN_ BLAK E3_ FILE - __
BUILTIN_ πREG_ BUILTIN_ BLAK E3_ RAW - __
BUILTIN_ πREG_ BUILTIN_ DIGEST - __
BUILTIN_ πREG_ BUILTIN_ MD5
FunctionsΒ§
- builtin_
base64dec π - Decode a base64-encoded string to a character string.
- builtin_
base64enc π - Encode a character string or raw vector to base64.
- builtin_
blake3 π - Compute a BLAKE3 hash of a character string or raw vector.
- builtin_
blake3_ πfile - Compute a BLAKE3 hash of a fileβs contents using streaming I/O.
- builtin_
blake3_ πraw - Compute a BLAKE3 hash and return as a 32-byte raw vector.
- builtin_
digest π - Compute a hash of a character string.
- builtin_
md5 π - MD5 is deprecated β error stub suggesting SHA-256.
- extract_
input_ πbytes - Extract a character or raw input from the first argument.