law blowfish_round_trip

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

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/blowfish.bend as BF

132law blowfish_round_trip:
133  for k: BF.LcBlowfishKey
134  for +b: L.LcBlock64
135  {BF.LcBlowfish.decrypt(k, BF.LcBlowfish.encrypt(k, b)) == b : L.LcBlock64}

Uses (8)

Used by (4)