pub fn ensure_hash(field: &'static str, value: &str) -> Result<(), ModelError>
Accept hexadecimal hashes with or without a known algorithm prefix.