def ok_head

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/argon2/phc.bend:23

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/argon2/phc.bend as Phc
import Base
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/logic.bend as L

23def ok_head(+x: U32, +r: List<&2, U32>, +h: {ok(x <> r) == True{} : Bool}) -> {Nat.is_lt(U32.to_nat(x), 256n) == True{} : Bool}:
24  L.and_left(Nat.is_lt(U32.to_nat(x), 256n), ok(r), h)

Uses (7)

Used by (4)