Trait Base32
libpijul::pristine
pub trait Base32: Sized { pub fn to_base32(&self) -> String; pub fn from_base32(b: &[u8]) -> Option<Self>; }
pub fn to_base32(&self) -> String
pub fn from_base32(b: &[u8]) -> Option<Self>
impl Base32 for Hash
Returns the base-32 representation of a hash.
pub fn from_base32(s: &[u8]) -> Option<Self>
Parses a base-32 string into a hash.