fn builtin_digest(
args: &[RValue],
named: &[(String, RValue)],
) -> Result<RValue, RError>Expand description
Compute a hash of a character string.
Supports SHA-256 (default), SHA-512, CRC32, and BLAKE3 (when the blake3
feature is enabled). Returns the hash as a lowercase hex string, matching
the output format of R’s digest package.
@param x character scalar to hash @param algo algorithm name: “sha256” (default), “sha512”, “crc32”, or “blake3” @return character scalar containing the hex digest