pub trait Tag {
    // Required method
    fn engine() -> HashEngine ;
}
Expand description

Trait representing a tag that can be used as a context for SHA256t hashes.

Required Methods§

fn engine() -> HashEngine

Returns a hash engine that is pre-tagged and is ready to be used for the data.

Implementations on Foreign Types§

§

impl Tag for TapBranchTag

§

impl Tag for TapSighashTag

§

impl Tag for TapTweakTag

§

impl Tag for TapLeafTag

Implementors§