Function sodiumoxide::hex::encode[][src]

pub fn encode<T: AsRef<[u8]>>(bin: T) -> String
Expand description

Encodes byte sequence into a hexadecimal string.

Panics

Panics if 2 * bin.len() + 1 overflows.