law cast6_round_trip

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

import bend-osdev-legacy-ciphers@0.1.0.0/LAWS.bend as LAWS
import Base
import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as M
import bend-osdev-legacy-ciphers@0.1.0.0/cast6.bend as C6

120law cast6_round_trip:
121  for k: C6.LcCast6Key
122  for +b: M.CmBlock
123  {C6.LcCast6.decrypt(k, C6.LcCast6.encrypt(k, b)) == b : M.CmBlock}

Uses (8)

Used by (5)