Trait iota_types::crypto::EncodeDecodeBase64
pub trait EncodeDecodeBase64: Sized {
// Required methods
fn encode_base64(&self) -> String;
fn decode_base64(value: &str) -> Result<Self, FastCryptoError>;
}
Expand description
Cryptographic material with an immediate conversion to/from Base64 strings.
This is an extension trait of ToFromBytes
above.
Required Methods§
fn encode_base64(&self) -> String
fn decode_base64(value: &str) -> Result<Self, FastCryptoError>
Object Safety§
This trait is not object safe.