Skip to main content

SHA256_DIGEST_PREFIX

Constant SHA256_DIGEST_PREFIX 

Source
pub const SHA256_DIGEST_PREFIX: &str = "SHA-256=";
Expand description

Prefix emitted in the legacy Digest: header for SHA-256.

RFC 5843 defines the token case-insensitively as SHA-256; this crate emits it in the exact casing used by every major Fediverse implementation.