[−]Trait recrypt::api::Hashable
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
Convert self to a stable byte representation.
Implementations on Foreign Types
impl Hashable for u8
fn to_bytes(&self) -> ByteVector
impl<T> Hashable for [T] where
T: Hashable,
T: Hashable,
fn to_bytes(&self) -> ByteVector
impl<T, '_> Hashable for &'_ [T] where
T: Hashable,
T: Hashable,
fn to_bytes(&self) -> ByteVector
impl<T> Hashable for Vec<T> where
T: Hashable,
T: Hashable,
fn to_bytes(&self) -> ByteVector
impl<'a, T: Hashable, U: Hashable> Hashable for &'a (T, U)
fn to_bytes(&self) -> ByteVector
impl<'a, T: Hashable, U: Hashable> Hashable for (&'a T, &'a U)
fn to_bytes(&self) -> ByteVector
impl<'a, T: Hashable, U: Hashable, V: Hashable> Hashable for (&'a T, &'a U, &'a V)
fn to_bytes(&self) -> ByteVector
impl<'a, T: Hashable, U: Hashable, V: Hashable, W: Hashable> Hashable for (&'a T, &'a U, &'a V, &'a W)
fn to_bytes(&self) -> ByteVector
impl<'a, T: Hashable, U: Hashable, V: Hashable, W: Hashable, X: Hashable> Hashable for (&'a T, &'a U, &'a V, &'a W, &'a X)
fn to_bytes(&self) -> ByteVector
impl<T: Hashable + Copy> Hashable for Option<T>
fn to_bytes(&self) -> ByteVector
impl Hashable for Monty
Loading content...
Implementors
impl Hashable for recrypt::api::EncryptedTempKey
fn to_bytes(&self) -> ByteVector
impl Hashable for recrypt::api::HashedValue
fn to_bytes(&self) -> ByteVector
impl Hashable for recrypt::api::Plaintext
impl Hashable for recrypt::api::PublicKey
fn to_bytes(&self) -> ByteVector
impl Hashable for PublicSigningKey
fn to_bytes(&self) -> ByteVector
impl Hashable for recrypt::api::TransformKey
fn to_bytes(&self) -> ByteVector
impl Hashable for recrypt::api_480::EncryptedTempKey
fn to_bytes(&self) -> ByteVector
impl Hashable for recrypt::api_480::HashedValue
fn to_bytes(&self) -> ByteVector
impl Hashable for recrypt::api_480::Plaintext
impl Hashable for PrivateKey
impl Hashable for recrypt::api_480::PublicKey
fn to_bytes(&self) -> ByteVector
impl Hashable for recrypt::api_480::TransformKey
fn to_bytes(&self) -> ByteVector
impl<T: Hashable + Clone> Hashable for NonEmptyVec<T>
impl<T: Hashable32> Hashable for T
All Hashable32s are Hashable