Enum multihash::Code [−][src]
pub enum Code {}Show variants
Sha2_256, Sha2_512, Sha3_224, Sha3_256, Sha3_384, Sha3_512, Keccak224, Keccak256, Keccak384, Keccak512, Blake2b256, Blake2b512, Blake2s128, Blake2s256, Blake3_256, Identity,
Default (cryptographically secure) Multihash implementation.
This is a default set of hashing algorithms. Usually applications would use their own subset of
algorithms. See the Multihash
derive for more information.
Variants
SHA-256 (32-byte hash size)
SHA-512 (64-byte hash size)
SHA3-224 (28-byte hash size)
SHA3-256 (32-byte hash size)
SHA3-384 (48-byte hash size)
SHA3-512 (64-byte hash size)
Keccak-224 (28-byte hash size)
Keccak-256 (32-byte hash size)
Keccak-384 (48-byte hash size)
Keccak-512 (64-byte hash size)
BLAKE2b-256 (32-byte hash size)
BLAKE2b-512 (64-byte hash size)
BLAKE2s-128 (16-byte hash size)
BLAKE2s-256 (32-byte hash size)
BLAKE3-256 (32-byte hash size)
Identity hash (max. 64 bytes)
Trait Implementations
impl From<&'_ Blake2bDigest<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]
impl From<&'_ Blake2bDigest<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]fn from(digest: &Blake2bDigest<U64>) -> Self
[src]
impl From<&'_ Blake2bDigest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]
impl From<&'_ Blake2bDigest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]fn from(digest: &Blake2bDigest<U32>) -> Self
[src]
impl From<&'_ Blake2sDigest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]
impl From<&'_ Blake2sDigest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]fn from(digest: &Blake2sDigest<U32>) -> Self
[src]
impl From<&'_ Blake2sDigest<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>> for Code
[src]
impl From<&'_ Blake2sDigest<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>> for Code
[src]fn from(digest: &Blake2sDigest<U16>) -> Self
[src]
impl From<&'_ Blake3Digest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]
impl From<&'_ Blake3Digest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]fn from(digest: &Blake3Digest<U32>) -> Self
[src]
impl From<&'_ IdentityDigest<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]
impl From<&'_ IdentityDigest<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]fn from(digest: &IdentityDigest<U64>) -> Self
[src]
impl From<&'_ KeccakDigest<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]
impl From<&'_ KeccakDigest<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]fn from(digest: &KeccakDigest<U64>) -> Self
[src]
impl From<&'_ KeccakDigest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]
impl From<&'_ KeccakDigest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]fn from(digest: &KeccakDigest<U32>) -> Self
[src]
impl From<&'_ KeccakDigest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>>> for Code
[src]
impl From<&'_ KeccakDigest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>>> for Code
[src]fn from(digest: &KeccakDigest<U48>) -> Self
[src]
impl From<&'_ KeccakDigest<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>> for Code
[src]
impl From<&'_ KeccakDigest<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>> for Code
[src]fn from(digest: &KeccakDigest<U28>) -> Self
[src]
impl From<&'_ Sha2Digest<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]
impl From<&'_ Sha2Digest<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]fn from(digest: &Sha2Digest<U64>) -> Self
[src]
impl From<&'_ Sha2Digest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]
impl From<&'_ Sha2Digest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]fn from(digest: &Sha2Digest<U32>) -> Self
[src]
impl From<&'_ Sha3Digest<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]
impl From<&'_ Sha3Digest<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]fn from(digest: &Sha3Digest<U64>) -> Self
[src]
impl From<&'_ Sha3Digest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]
impl From<&'_ Sha3Digest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]fn from(digest: &Sha3Digest<U32>) -> Self
[src]
impl From<&'_ Sha3Digest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>>> for Code
[src]
impl From<&'_ Sha3Digest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>>> for Code
[src]fn from(digest: &Sha3Digest<U48>) -> Self
[src]
impl From<&'_ Sha3Digest<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>> for Code
[src]
impl From<&'_ Sha3Digest<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>> for Code
[src]fn from(digest: &Sha3Digest<U28>) -> Self
[src]
impl MultihashDigest for Code
[src]
impl MultihashDigest for Code
[src]