Wednesday, July 13, 2011

The Art of Encryption Using C

Encryption is the process of transforming information  using an algorithm  to make it unreadable to anyone except those who has a key.

A common way to Encrypt files in C is by using XOR Encryption

XOR is Logical Operation

1 xor 0 = 1
0 xor 1 = 1
1 xor 1 = 0
0 xor 0 = 0

XOR encryption encodes each bit with a a key provided and the generated output is unreadable without a Key.


Post a Comment


The Source Codes Published in this Blog can be used freely for Educational purposes but should not be reproduced on any other Blog or Website without the consent of the author.