We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,386 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion
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
Team Colleague
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
Team Colleague
15,460 posts since Sep 2004
Reputation Points: 6,483
Solved Threads: 1,407
Skill Endorsements: 54

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.

Dear Naure..
We are here to help the people from problem...And I say you truly that i'm just a beginner and very new to the world of cryptology...I have trying a lot to work with psuedocode but it didnt much help me out...and also i'm reallly a bad programmer..

Well it been a month i have been working on EIC and not able to figure out.....Through googling i found decryption code and tried on it implement Eic but all in vain....'


Man if u have the code just post..Ther's no harm..u have my word

arun_taurean
Light Poster
29 posts since Feb 2011
Reputation Points: 1
Solved Threads: 0
Skill Endorsements: 0

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

Hi,
thanks for the link i went through that but it does not solve may problem..In aes decryption there is transformation which is totally different from encryption...So if we implement using Equivalent Inverse Cipher the transformation are same as that of encryption and thers a change in key schedule..I bet if you take a little time you will surely crack it...

arun_taurean
Light Poster
29 posts since Feb 2011
Reputation Points: 1
Solved Threads: 0
Skill Endorsements: 0

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
Team Colleague
15,460 posts since Sep 2004
Reputation Points: 6,483
Solved Threads: 1,407
Skill Endorsements: 54

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?

Well man,i'm really much depressed with my work....Actually yup it's a homework given to me...But i failed to prove my capabilty..Thats the reason I'm begging for codes....
actually i'm a student doing training so my guide wanted me implement decryption of aes in equivalent inverse cipher mode..i had a decryption code and tried to modified it according to psuedocode but all in vain and also i'm able to get much of it...as i said i have totally no idea of cryptography and also i'm not a good programmer...thats the reason i'm was asking for codes....theres no other motives....trust me...and moreover if ever you change your mind and wish to post your code i'll just take it as a reference...

arun_taurean
Light Poster
29 posts since Feb 2011
Reputation Points: 1
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0821 seconds using 2.68MB