Trait exonum::crypto::CryptoHash
[−]
[src]
pub trait CryptoHash { fn hash(&self) -> Hash; }
A common trait for the ability to compute a cryptographic hash.
Required Methods
fn hash(&self) -> Hash
Returns a hash of the value.
The hashing strategy must satisfy the basic requirements of cryptographic hashing: equal values must have the same hash and not equal values must have different hashes (except for negligible probability).
Implementations on Foreign Types
impl CryptoHash for bool
[src]
impl CryptoHash for u8
[src]
impl CryptoHash for u16
[src]
impl CryptoHash for u32
[src]
impl CryptoHash for u64
[src]
impl CryptoHash for i8
[src]
impl CryptoHash for i16
[src]
impl CryptoHash for i32
[src]
impl CryptoHash for i64
[src]
impl CryptoHash for ()
[src]
impl CryptoHash for Vec<u8>
[src]
impl CryptoHash for String
[src]
impl CryptoHash for SystemTime
[src]
Implementors
impl<T: Message> CryptoHash for T
impl CryptoHash for Hash
impl CryptoHash for PublicKey
impl CryptoHash for Round
impl CryptoHash for Block
impl CryptoHash for TxLocation
impl CryptoHash for TransactionResult
impl CryptoHash for StoredConfiguration