law cast5_round_trip_dual

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

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

149law cast5_round_trip_dual:
150  for k: C5.LcCast5Key
151  for +b: L.LcBlock64
152  {C5.LcCast5.encrypt(k, C5.LcCast5.decrypt(k, b)) == b : L.LcBlock64}

Uses (10)

Used by (1)