pub struct StrKey;
Implementations§
Source§impl StrKey
impl StrKey
pub fn encode_ed25519_public_key(data: &[u8]) -> String
pub fn decode_ed25519_public_key(data: &str) -> Result<Vec<u8>, Error>
pub fn is_valid_ed25519_public_key(data: &str) -> bool
pub fn encode_ed25519_secret_seed(data: &[u8]) -> String
pub fn decode_ed25519_secret_seed(data: &str) -> Result<Vec<u8>, Error>
pub fn is_valid_ed25519_secret_seed(data: &str) -> bool
pub fn encode_med25519_public_key(data: &[u8]) -> String
pub fn decode_med25519_public_key(data: &str) -> Result<Vec<u8>, Error>
pub fn is_valid_med25519_public_key(data: &str) -> bool
pub fn encode_pre_auth_tx(data: &[u8]) -> String
pub fn decode_pre_auth_tx(data: &str) -> Result<Vec<u8>, Error>
pub fn is_valid_pre_auth_tx(data: &str) -> bool
pub fn encode_sha256_hash(data: &[u8]) -> String
pub fn decode_sha256_hash(data: &str) -> Result<Vec<u8>, Error>
pub fn is_valid_sha256_hash(data: &str) -> bool
pub fn encode_signed_payload(data: &[u8]) -> String
pub fn decode_signed_payload(data: &str) -> Result<Vec<u8>, Error>
pub fn is_valid_signed_payload(data: &str) -> bool
pub fn get_version_byte_for_prefix(data: &str) -> Result<String, Error>
Auto Trait Implementations§
impl Freeze for StrKey
impl RefUnwindSafe for StrKey
impl Send for StrKey
impl Sync for StrKey
impl Unpin for StrKey
impl UnwindSafe for StrKey
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more