law rc4_stream_involution
import bend-osdev-crypto@0.1.0.0/LAWS.bend as LAWSimport Base
import bend-osdev-bytes@0.1.0.0/bytes.bend as B
import bend-osdev-legacy-ciphers@0.1.0.0/rc4.bend as R
1157# RC4 (legacy-ciphers): from one state, applied twice, the data comes back
1158law rc4_stream_involution:
1159 for +s: R.LcRc4State
1160 for +m: B.Octets
1161 {R.LcRc4.out_data(R.LcRc4.update(s, R.LcRc4.out_data(R.LcRc4.update(s, m)))) == m : B.Octets}
Uses (5)
Used by (0)
No other definition uses this definition.