Type Alias tendermint::crypto::default::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]