Why doesn't my simple XOR encryption program translate the characters right, and why does it add more characters at the end?

前端 未结 4 1760
一向
一向 2021-01-28 09:00

I\'m making a XOR based en/decryptor, that works like this. You have a plaintext character, for example 3, and a user key, for example 5. Written in bits:

3 = 00         


        
4条回答
  •  心在旅途
    2021-01-28 09:17

    i found some XOR encryption codes online which might help you

    it is a beautifully written code in c https://code.google.com/p/xorencryption/

    written in c++ http://programmingconsole.blogspot.in/2013/10/xor-encryption-for-alphabets.html

提交回复
热议问题