tendermint::crypto::default

Type Alias Sha256

pub type Sha256 = CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, OidSha256>>;
Expand description

The default implementation of the Sha256 trait.

SHA-256 hasher.

Aliased Type§

struct Sha256 { /* private fields */ }

Trait Implementations§

Source§

impl Sha256 for Sha256

Source§

fn digest(data: impl AsRef<[u8]>) -> [u8; 32]