Name: Anonymous 2009-06-16 10:40
Write an encryption and decryption program which would
Read file A and use its contents as bitstring which would
be input for this transformation(Its XOR btw), assuming the initial "previous bit" as 0:
If previous bit is equal to next bit write 0 into File B, else write 1 into File B.
The decryption program must take File B and produce File A.
Whoever does it in least characters wins.
Read file A and use its contents as bitstring which would
be input for this transformation(Its XOR btw), assuming the initial "previous bit" as 0:
If previous bit is equal to next bit write 0 into File B, else write 1 into File B.
The decryption program must take File B and produce File A.
Whoever does it in least characters wins.