law twofish_round_trip_dual

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

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/twofish.bend as F

101law twofish_round_trip_dual:
102  for k: F.LcTwofishKey
103  for +b: M.CmBlock
104  {F.LcTwofish.encrypt(k, F.LcTwofish.decrypt(k, b)) == b : M.CmBlock}

Uses (8)

Used by (1)