law cast5_round_trip

bend-osdev-legacy-ciphers@0.1.0.0 · LAWS.bend:144

import bend-osdev-legacy-ciphers@0.1.0.0/LAWS.bend as LAWS
import Base
import bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend as L
import bend-osdev-legacy-ciphers@0.1.0.0/cast5.bend as C5

144law cast5_round_trip:
145  for k: C5.LcCast5Key
146  for +b: L.LcBlock64
147  {C5.LcCast5.decrypt(k, C5.LcCast5.encrypt(k, b)) == b : L.LcBlock64}

Uses (11)

Used by (4)