In the present work the author has introduced a new cryptographic method using XOR Cipher for data encryption and decryption of any data file at three stages (1) First, by converting each character into corresponding binary code using Extended ASCII Code thus we get 8N bits for input file containing of N characters (2) Secondly, creating a string of 0’s and 1’s such that total number of 0’s and 1’s is 8N, the consecutive numbers of 0’s and 1’s in this string may be from 1 to 7 (3) Thirdly, apply XOR operation on binary strings obtained at stages one and two and (4) Finally, converting binary string obtained at stage three into corresponding characters using reverse Extended ASCII Code. The results obtained after application of this algorithm are excellent.
Cite this article:
Satish Kumar Garg. Cryptography Using Xor Cipher. Research J. Science and Tech. 2017; 9(1):25-28. doi: 10.5958/2349-2988.2017.00004.3