pub fn to_hex<T>(bytes: &[T]) -> Stringwhere T: LowerHex,
Encode the provided bytes into a hex string.