Hi cryptographers, I'm currently working on AES.I have got codes for Encryption and Decryption separeately.But my problem is that i want to use a single function that is able to do encryption and decryption.If any codes available,please send it.
At first I was going to post up my own AES code when I had the time, but after the constant bumping with zero-value posts and duplicate threads, I think I'll just let you figure it out on your own. Nice job.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,483
Solved Threads: 1,407
Skill Endorsements: 54
You're such a tease, Narue! ;)
http://www.cs.utsa.edu/~wagner/laws/AESDec.html
The link above, has C like code for EIC. The Green colored link at the top of the page, (to the book), allows a download of the entire book "Handbook of Applied Cryptology", in separate chapters. I haven't read the book yet, but it could help you with any background info you need on Cryptology.
So asking in sci.crypt on Usenet was helpful. ;)
Adak
Posting Virtuoso
1,640 posts since Jun 2008
Reputation Points: 456
Solved Threads: 196
Skill Endorsements: 7
You're such a tease, Narue!
Yup. But seriously, by now he could easily have derived code from the pseudocode in the AES specification. It's a complex algorithm, but all of the pieces are handed to you along with instructions for putting them together.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,483
Solved Threads: 1,407
Skill Endorsements: 54
Well it been a month i have been working on EIC and not able to figure out.....
What have you tried? All I've seen is you begging for code; nothing to show you've put any effort into your own implementation. If you're such a beginner that it's impossible given very specific instructions (provided in the AES spec), perhaps you should start with less overwhelming algorithms.
I ask this: if I give you my code, what do you learn? And why are you so bent out of shape over the equivalent inverse cipher anyway? Is it a homework requirement or something?
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,483
Solved Threads: 1,407
Skill Endorsements: 54