Oberon || Library || Module Index || Search Engine || Definition || Module
PROCEDURE XorByte (b1, b2: BYTE) : BYTE; PROCEDURE XorStream (in1, in2, out: Streams.Stream; length: INTEGER);
XorStream does the same with two streams in1 and in2 for the next length bytes and put the result onto stream out. These functions are imported by the module StreamCiphers but could be useful for other purposes besides encryption.
Oberon || Library || Module Index || Search Engine || Definition || Module