Laws.hash_correct: law of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/argon2/laws.bend as Laws Lines 43-47 of bend-collections-laws-crypto@1.0.0.0/proofs/crypto/argon2/laws.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/crypto/argon2/laws.bend&start_line=43&end_line=47 import Base import bend-collections-laws-crypto@1.0.0.0/src/crypto/blake/blake2b/sized.bend as IH import bend-collections-laws-crypto@1.0.0.0/spec/crypto/argon2/argon2.bend as SA # BLAKE2b with an nn-byte digest, H' and H0 (sections 3.2, 3.3). law hash_correct: for +nn: Nat for +bs: List<&2, U32> {IH.hash(nn, bs) == SA.hash(nn, bs) : List<&2, U32>} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/crypto/argon2/hash.bend&name=hash_eq https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/spec/crypto/argon2/argon2.bend&name=hash https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/crypto/blake/blake2b/sized.bend&name=hash