pub fn decode(data: &str) -> Result<Vec<u8>, InvalidCharacterError>
Decodes a base58-encoded string into a byte vector.