Trait sha2_compress::Item

source ·
pub trait Item: UInt + Copy + Sized {
    type KType: Array<Output = Self>;

    const K: Self::KType;
    const BIG_S0: BigSigma;
    const BIG_S1: BigSigma;
    const SMALL_S0: SmallSigma;
    const SMALL_S1: SmallSigma;

    // Required method
    fn w(a: &Hash<Self>, b: &Hash<Self>) -> [Self; 16];
}

Required Associated Types§

source

type KType: Array<Output = Self>

Required Associated Constants§

Required Methods§

source

fn w(a: &Hash<Self>, b: &Hash<Self>) -> [Self; 16]

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Item for u32

§

type KType = [u32; 64]

source§

const K: Self::KType = _

source§

const BIG_S0: BigSigma = _

source§

const BIG_S1: BigSigma = _

source§

const SMALL_S0: SmallSigma = _

source§

const SMALL_S1: SmallSigma = _

source§

fn w(a: &Hash<Self>, b: &Hash<Self>) -> [Self; 16]

source§

impl Item for u64

§

type KType = [u64; 80]

source§

const K: Self::KType = _

source§

const BIG_S0: BigSigma = _

source§

const BIG_S1: BigSigma = _

source§

const SMALL_S0: SmallSigma = _

source§

const SMALL_S1: SmallSigma = _

source§

fn w(a: &Hash<Self>, b: &Hash<Self>) -> [Self; 16]

Implementors§