law blowfish_round_trip_dual

bend-osdev-blowfish@0.1.0.0 · LAWS.bend:16

import bend-osdev-blowfish@0.1.0.0/LAWS.bend as LAWS
import Base
import bend-osdev-cipher-core@0.1.0.0/cipher_core.bend as L
import bend-osdev-blowfish@0.1.0.0/blowfish.bend as BF

16law blowfish_round_trip_dual:
17  for k: BF.LcBlowfishKey
18  for +b: L.LcBlock64
19  {BF.LcBlowfish.encrypt(k, BF.LcBlowfish.decrypt(k, b)) == b : L.LcBlock64}

Uses (8)

Used by (0)

No other definition uses this definition.