XOREncryption icon indicating copy to clipboard operation
XOREncryption copied to clipboard

XOR encryption implementations for several languages.

Results 7 XOREncryption issues
Sort by recently updated
recently updated
newest added

` std::string EncryptDecrypt(std::string toEncrypt) { char key[4] = { 'j', 'T', 'J','d' }; std::string output = toEncrypt; for (int i = 0; i < toEncrypt.size(); i++) { output[i] = toEncrypt[i]...

Hi Kyle, Came across your [blog post](https://kylewbanks.com/blog/xor-encryption-using-go) when searching for "golang xor encryption" and was testing it. Unfortunately, your function isn't Unicode safe. I've created a few test cases in...

Source code: https://github.com/KyleBanks/XOREncryption/blob/master/Go/xor.go The string concat operator `output +=` will make this XOR function run heavily. I tested input with `~500k` characters and it took about **22s** to complete. Here...

I had encountered a bug with the c version code when I had tried to decrypt the encrypted string. ``` void encryptDecrypt(char *input, char *output) { char key[] = {'K',...

Here's a Lua version ``` function M.obfuscate(input, key) key = key or M.obfuscation_key local output = "" local key_iterator = 1 local input_length = #input local key_length = #key for...

Could you tag your releases and make the changelog directly visible in your GitHub releases? This would increase transparency for potential users and distribution maintainers. Something like https://skywinder.github.io/github-changelog-generator/ could be...

On the C version I made some modifications for my own needs, however now it seems to not work properly on windows. (the encrypted string does not decrypt to be...