Jump to content

Questions On XOR encryption and some other!


Recommended Posts

Hello!

Any time I start learning a language I do a XOR encryptor as one of the basic programs, but I have been unable to do so in AutoIt. I just can't seem to figure out how to encrypt strings using XOR. I tried converting scripts to Binary or trying BitXOR() but to no avail. So I would be grateful if you can show how to do a string XOR operation.

Also, is memory reading possible in AutoIt? If so, where can I find some documentation about it.

Thanks!

Link to comment
Share on other sites

The BitXOR function only works on numbers here (32-bit unsigned, to be precise). If your trying to XOR a string, you need to convert each char of that string to a number, XOR it, then change it back to a string/binary and store it in your result. Search for RC4 and you'll see a few examples of it here.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...