law cast5_block_round_trip
import bend-osdev-crypto@0.1.0.0/LAWS.bend as LAWSimport Base
import bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend as L
import bend-osdev-legacy-ciphers@0.1.0.0/cast5.bend as C5
1005# CAST-128 (legacy-ciphers): decryption undoes encryption, for every key and block
1006law cast5_block_round_trip:
1007 for k: C5.LcCast5Key
1008 for +b: L.LcBlock64
1009 {C5.LcCast5.decrypt(k, C5.LcCast5.encrypt(k, b)) == b : L.LcBlock64}
Uses (5)
Used by (0)
No other definition uses this definition.