EthWallet.Utils.ExSha3 (eth_wallet v0.1.1)

ExSha3 supports the three hash algorithms:

* KECCAK1600-f the original pre-fips version as used in Ethereum
* SHA3 the fips-202 approved final hash
* SHAKE

Keccak and SHA3 produce fixed length strings corresponding to their bit length, while shake produces an arbitary length output according to the provided outlen parameter.

Summary

Functions

Link to this function

keccak_224(source)

@spec keccak_224(binary()) :: binary()
Link to this function

keccak_256(source)

@spec keccak_256(binary()) :: binary()
Link to this function

keccak_384(source)

@spec keccak_384(binary()) :: binary()
Link to this function

keccak_512(source)

@spec keccak_512(binary()) :: binary()
Link to this function

sha3_224(source)

@spec sha3_224(binary()) :: binary()
Link to this function

sha3_256(source)

@spec sha3_256(binary()) :: binary()
Link to this function

sha3_384(source)

@spec sha3_384(binary()) :: binary()
Link to this function

sha3_512(source)

@spec sha3_512(binary()) :: binary()
Link to this function

shake_128(source, outlen)

@spec shake_128(binary(), number()) :: binary()
Link to this function

shake_256(source, outlen)

@spec shake_256(binary(), number()) :: binary()