Jump to content

Native AutoIt Code AES Encryption UDF


403forbidden
 Share

Recommended Posts

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
Link to comment
Share on other sites

  • 4 weeks later...

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

There is a HUGE progress on fixing tickets on BugTrac so I think it will may be soon.

Here is link to mentioned ticket on the Trac

http://www.autoitscript.com/trac/autoit/ticket/1157#comment:1

Edited by Zedna
Link to comment
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.

Link to comment
Share on other sites

  • 4 weeks later...

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
Link to comment
Share on other sites

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
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...