Trait recrypt::api_480::Hashable [−]
pub trait Hashable {
fn to_bytes(&self) -> ByteVector;
}
Expand description
Typeclass for converting an implementing type to a stable byte representation which can be used for hashing (and thus the hash value will also remain consistent) Inverse of BytesDecoder
Required methods
fn to_bytes(&self) -> ByteVector
fn to_bytes(&self) -> ByteVector
Convert self to a stable byte representation.
Implementations on Foreign Types
fn to_bytes(&self) -> ByteVector
fn to_bytes(&self) -> ByteVector
fn to_bytes(&self) -> ByteVector
fn to_bytes(&self) -> ByteVector
fn to_bytes(&self) -> ByteVector
fn to_bytes(&self) -> ByteVector
Implementors
impl Hashable for recrypt::api::EncryptedTempKey
impl Hashable for recrypt::api::HashedValue
impl Hashable for PublicSigningKey
impl Hashable for recrypt::api::TransformKey
impl Hashable for recrypt::api_480::EncryptedTempKey
impl Hashable for recrypt::api_480::HashedValue
impl Hashable for PrivateKey
impl Hashable for recrypt::api_480::TransformKey
impl<T: Hashable + Clone> Hashable for NonEmptyVec<T>
impl<T: Hashable32> Hashable for T
All Hashable32s are Hashable