law Sign.length

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/mac/laws.bend:15

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/mac/laws.bend as Laws
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/mac.bend as MAC

15# Every tag is 32 bytes.
16law Sign.length:
17  for +key: List<&2, U32>
18  for +msg: List<&2, U32>
19  {List.length(&2, U32, MAC.sign(key, msg)) == 32n : Nat}

Uses (6)

Used by (0)

No other definition uses this definition.