law xtea_round_trip_dual

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

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

173law xtea_round_trip_dual:
174  for k: XT.LcXteaKey
175  for +b: L.LcBlock64
176  {XT.LcXtea.encrypt(k, XT.LcXtea.decrypt(k, b)) == b : L.LcBlock64}

Uses (8)

Used by (1)