law blowfish_round_trip

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

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

11law blowfish_round_trip:
12  for k: BF.LcBlowfishKey
13  for +b: L.LcBlock64
14  {BF.LcBlowfish.decrypt(k, BF.LcBlowfish.encrypt(k, b)) == b : L.LcBlock64}

Uses (8)

Used by (0)

No other definition uses this definition.