Skip to main content

hrp_expand

Function hrp_expand 

Source
pub fn hrp_expand(hrp: &str) -> Vec<u8> 
Expand description

BIP 173-style HRP expansion: [c >> 5 for c in hrp] ++ [0] ++ [c & 31 for c in hrp].