Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

SNIP12HashSpanImpl

Hash trait implementation for a span of elements according to SNIP-12.

Fully qualified path: openzeppelin_utils::cryptography::snip12::SNIP12HashSpanImpl

pub impl SNIP12HashSpanImpl<
    T, +Copy<T>, +Hash<T, HashState>,
> of Hash<Span<T>, HashState, HashStateImpl>;

Impl functions

update_state

Fully qualified path: openzeppelin_utils::cryptography::snip12::SNIP12HashSpanImpl::update_state

fn update_state(mut state: HashState, value: Span<T>) -> HashState