pub fn hex_encode(bytes: &[u8]) -> StringExpand description
Lower-case hex encoding of a byte slice.
Replaces the format!("{:x}", Sha256::digest(...)) idiom, which broke when
sha2 0.11 changed the digest output type to hybrid_array::Array, which
does not implement LowerHex.