Here's the deal. I NEED AES! I have been using sec's AES lib in 3.94 and have been unable to move most of my stuff to 4.0 because of this. And sec "lost" the source code to the lib so it cant be converted to 4.0. (Is it just me or does this seem to happen quite a bit? I mean, it seems like the people who release libs have a special propensity to lose the source.)
I have found source code for AES in PowerBasic (mostly ASM) and Visual Basic, however I don't know either of them, which is why I am asking for help. The PowerBasic page is pbcrypto.com and I found it because of another thread in this forum.
I am willing to do a lot of the grunt work, like pre-conversion, but I need help with the compilation errors and the obvious conversion of commands which I don't understand.
I will release the source code on this forum, where hopefully it can be adapted on other platforms as well.
But I can't do it alone, so I am asking for help. If you are interested and have expertise in PowerBasic, ASM, or Visual Basic. Please reply.
If this works, then maybe we can work on BlowFish as well.
Thanks for any interest.
[EDIT]My title got cut off, but I said "code not lib"[/EDIT]
Anyone want to help with "AES" Encryption - code n
-
Killswitch
- Enthusiast

- Posts: 731
- Joined: Wed Apr 21, 2004 7:12 pm
I can't remember who, but someone mentioned a possible work around. If you write a wrapper .dll for the lib functions in PB 3.94 then you can use that .dll without a problem in PB 4.0. Does mean you'll have to ship the .dll with your project though.
~I see one problem with your reasoning: the fact is thats not a chicken~
Somebody in the german forum is converting AES code to pb (not finished yet):
http://www.purebasic.fr/german/viewtopic.php?t=8779
hope you understand german
http://www.purebasic.fr/german/viewtopic.php?t=8779
hope you understand german
Hmm just today I came across both Sec's & Max's (hard-to-find) AES libs, and both seem to work ok with PB4 (and with various examples floating around), though I've yet to really thrash these libs. Another (pay) option is to check out slavasoft's quickcrypt lib which I mention because (unlike most others) they have a static lib available.


