Function encode_lower
pub fn encode_lower<Ck>(hrp: Hrp, data: &[u8]) -> Result<String, EncodeError>where
Ck: Checksum,
Expand description
Encodes data
as a lowercase bech32 encoded string.
Encoded string will be prefixed with the hrp
and have a checksum appended as specified by the
Ck
algorithm (NoChecksum
to exclude checksum all together).