law tdes_round_trip_dual

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

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/tdes.bend as T

53law tdes_round_trip_dual:
54  for k: T.LcTdesKey
55  for +b: L.LcBlock64
56  {T.LcTdes.encrypt(k, T.LcTdes.decrypt(k, b)) == b : L.LcBlock64}

Uses (9)

Used by (1)