Function valid_hash
pub fn valid_hash(hash: &str) -> boolExpand description
Whether hash has the shape of a content address (64 lower- or upper-case hex digits).
Addresses arrive from documents and peers, so anything else is refused before it can name a path.