Research Journal of Science and Technology

  • Year: 2017
  • Volume: 9
  • Issue: 1

Cryptography Using Xor Cipher

Govt. P G College, Ambala Cantt.-133001

Abstract

In the present work the author has inttroduced a new cryptographic method using XOR Cipher for data encryption and decryption of any data file at three staages (1) First, by converting each character into correspo onding 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's is 8N, the consecutive numbers of 0’s and 1’s in this strin ng 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 correspon nding characters using reverse Extended ASCII Code. TThe results obtained after application of this algorithm are excellennt.

Keywords

Encryption, Decryption, XOR Cipher