law xtea_round_trip

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

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/xtea.bend as XT

168law xtea_round_trip:
169  for k: XT.LcXteaKey
170  for +b: L.LcBlock64
171  {XT.LcXtea.decrypt(k, XT.LcXtea.encrypt(k, b)) == b : L.LcBlock64}

Uses (8)

Used by (4)