darkfi::util::encoding::base32

Function encode

Source
pub fn encode(padding: bool, data: &[u8]) -> String
Expand description

Encode a byte slice with the given base32 alphabet into a base32 string.