Skip to main content

sri_sha256

Function sri_sha256 

Source
pub fn sri_sha256(sri: &str) -> Option<Hash>
Expand description

A sha256-<base64> (SRI) hash as the 32 bytes it names; None for any other algorithm or a malformed value.