Sign in to follow this  
Followers 0
Fetret

Questions On XOR encryption and some other!

5 posts in this topic

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!

Share this post


Link to post
Share on other sites



Tiny bump, can't anyone help me?

Also is there anyway to directly interface autoit with MSN without using memory reading? For example retrieving incoming messages etc...?

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

_StringEncrypt

It's an UDF from String.au3.

Check the Help File.


[center]It's a question of mind over matter, if I don't mind, it doesn't matter.[/center]

Share this post


Link to post
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
Sign in to follow this  
Followers 0