pub fn parse_digest_value(s: &str) -> Result<(DigestDescriptor, &str)>Expand description
Parse a composefs.digest= value like v1-sha256-12:<hex> or v2-sha512-12:<hex>.
Returns (descriptor, hex_digest). Errors on malformed or unsupported
format descriptors (unknown version, bad hash name, unsupported blocksize).