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.
arun_taurean -9 Light Poster
Recommended Answers
Jump to PostI know two verses of a song (in a function), but I need someone (another function), to tell me which one to start singing.
How could that be done?
Have you ever heard of PARAMETER City? Lovely place. Post up your map and bring your compass, and we'll …
Jump to PostI believe you are laboring under a very poor concept here. You do NOT NOT NOT want to mess with the "inner" workings of a proven cryptology program.
It works -- leave it alone.;)
Treat each part of it (encryption and decryption), as "black boxes", and code up …
Jump to PostFor encrypting, N would be a number that was defined or declared a const, earlier in the program. K I'm not sure of, but I'll hazard a guess it's a prime number chosen by the algorithm, on this run. Might be a hash value, also.
Key[] is the index …
Jump to PostAt 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.
Jump to PostYou'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.
All 26 Replies
Adak 419 Nearly a Posting Virtuoso
arun_taurean -9 Light Poster
Adak 419 Nearly a Posting Virtuoso
arun_taurean -9 Light Poster
WaltP commented: I don't know about your mother language but in English there's a period AND SPACE at the end of sentences. The written word is NOT an web address. -3
Adak 419 Nearly a Posting Virtuoso
arun_taurean -9 Light Poster
arun_taurean -9 Light Poster
Adak 419 Nearly a Posting Virtuoso
arun_taurean -9 Light Poster
Adak 419 Nearly a Posting Virtuoso
arun_taurean -9 Light Poster
Adak 419 Nearly a Posting Virtuoso
arun_taurean -9 Light Poster
Adak 419 Nearly a Posting Virtuoso
arun_taurean -9 Light Poster
Adak 419 Nearly a Posting Virtuoso
arun_taurean -9 Light Poster
arun_taurean -9 Light Poster
arun_taurean -9 Light Poster
Narue 5,707 Bad Cop Team Colleague
Adak 419 Nearly a Posting Virtuoso
Narue 5,707 Bad Cop Team Colleague
arun_taurean -9 Light Poster
arun_taurean -9 Light Poster
Narue 5,707 Bad Cop Team Colleague
arun_taurean -9 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.