Sign in to follow this  
Followers 0
403forbidden

Native AutoIt Code AES Encryption UDF

13 posts in this topic

#1 ·  Posted (edited)

I have made a UDF for encryption of strings using AES. It is coded completely in AutoIt code, so you can see how it works and learn more about AES by looking at it. You can find the code and a lengthier description by going to http://403forbidden.dyndns.org/?page_id=128

Edited by 403forbidden

Share this post


Link to post
Share on other sites



Looks like some very nice code. I haven't tested yet, but will do so later today.


[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

Share this post


Link to post
Share on other sites

Looks like some very nice code. I haven't tested yet, but will do so later today.

Let me know what you think of it when you do.

Share this post


Link to post
Share on other sites

Ok I must be a noob but I've got no idea of how to use this. I get what its supposed to do but uhh yeah how would i use this?


A great place to start Autoit 1-2-3

Share this post


Link to post
Share on other sites

ah ok ill take a look at that any ideas when that beta will be out?


A great place to start Autoit 1-2-3

Share this post


Link to post
Share on other sites

Ok I must be a noob but I've got no idea of how to use this. I get what its supposed to do but uhh yeah how would i use this?

It's just like a normal function.

1. Download the AutoIt script.

2. Include the file in the script you want to use my script in using the #include keyword.

3. Use the function like any other. The functions name is _AESEncrypt.

Share this post


Link to post
Share on other sites

Not to toot my own horn, but I did the Rijndael encryption algorithm (which is what AES is) in AutoIt, with IV's and everything here.

Share this post


Link to post
Share on other sites

#11 ·  Posted (edited)

Not to toot my own horn, but I did the Rijndael encryption algorithm (which is what AES is) in AutoIt, with IV's and everything here.

Sweet, thanks man. I was using the MEMDll version and I needed proper code documentation instead of ASM magic.

I am having difficulties using the IVs though. I tried simply using a SHA1 hash of a random number....but my output is the same.

edit:

I didn't realize IVs didn't work with ECB mode. my bad. thanks again

Edited by spudw2k

Share this post


Link to post
Share on other sites

What mode are you using? The IV's are only applied in modes 1-4.

Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

What mode are you using? The IV's are only applied in modes 1-4.

edit:

I still can't get the IV work properly. Can you show me a working example? Why do I need to supply the IV to the Decipher? The ASM version doesn't require IVs for Decryption.

edit:

moved discussion to SkinnyGuys topic.

Edited by spudw2k

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