def kk

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/secp256k1/peth.bend:90

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/peth.bend as Peth
import Base
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/secp256k1/ecdsa.bend as ES
import bend-collections-laws-crypto@1.0.0.0/src/crypto/secp256k1/ecdsa.bend as E
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/keccak/laws.bend as KL

90# the Keccak-256 implementation is its specification
91def kk(a: Array<U32>, +l: Nat) -> {E.hash(E.Keccak256{}, a, l) == ES.hash(ES.Keccak256{}, a, l) : Maybe<&1, Array<U32>>}:
92  KL.ethereum_keccak256(a, l)

Uses (9)

Used by (1)