Skip to main content

validate_sha256

Function validate_sha256 

Source
pub fn validate_sha256(value: &str) -> Result<()>
Expand description

Validates the exact lowercase sha256:<64 hex digits> representation.

ยงErrors

Returns Error::Validation when the prefix, length, case, or digits are invalid.