merkle v0.2.2 Merkle.Mixers.Hex

Different crypto Mixers for hexadecimal mode Merkle Trees.

Mixers in hexadecimal mode process hashes as Base16 strings ("FABADA").

Summary

Functions

Commutable version of SHA-2 with 256 bits output size

Commutable version of SHA3 (FIPS-202) with 256 bits output size

Commutable version of SHA3 (FIPS-202) with 512 bits output size

Good old SHA-2 with 256 bits output size

SHA-3 (FIPS-202)

SHA-3 (FIPS-202) with 512 bits output size

Functions

commutable_sha256(a, b)
commutable_sha256(Merkle.digest, Merkle.digest) :: Merkle.digest

Commutable version of SHA-2 with 256 bits output size.

commutable_sha3_256(a, b)
commutable_sha3_256(Merkle.digest, Merkle.digest) :: Merkle.digest

Commutable version of SHA3 (FIPS-202) with 256 bits output size.

commutable_sha3_512(a, b)
commutable_sha3_512(Merkle.digest, Merkle.digest) :: Merkle.digest

Commutable version of SHA3 (FIPS-202) with 512 bits output size.

sha256(a, b)

Good old SHA-2 with 256 bits output size.

sha3(a, b, size \\ 256)

SHA-3 (FIPS-202)

sha3_512(a, b)

SHA-3 (FIPS-202) with 512 bits output size.