[][src]Crate eth2_hashing

Provides a simple hash function utilizing ring::digest::SHA256.

The purpose of this crate is to provide an abstraction to whatever hash function Ethereum 2.0 is using. The hash function has been subject to change during the specification process, so defining it once in this crate makes it easy to replace.

Functions

hash

Returns the digest of input.