hi , i am new here. i need a favour if anybody could provide me with the source code of either aes/des algoritham. i ned it for my minor project and th deadlin is about to approach. plz help me...:nonod:
thanku for ur reply, but i am looking for the coding, i have read the Wikipedia but i cant do the coding part, plz help me to find its coding...
i have used the last link given in C/ASM library section of this article, but it is creating problem as it is asking for hexadecimal i/p from user
What sort of problems is it creating? Simply translate what you want to input into hexadecimal and that should be that, no? Or tweak the input routine to accept whatever you want to enter, then convert it into hex. e.g. if the code is currently something like Code: printf("Enter hex string :"); char buf[32]; fgets(buf,30,stdin); process_hex(buf); you could do something like: Code: printf("Enter text string :"); char txt[15]; fgets(txt,14,stdin); char buf[32]; convert2hex(txt,buf); // trivial to write process_hex(buf);
u mean to say i shuld insert a module which changes the user input into hexadecimal and then encrypts
I don't understand where you're stuck. If the program asks for hex input, why is that a problem? I would have thought hex input was ideal, so please explain to me, in detail, what the problem is.
exactly my minor projct is"compression with file security", in which i hv to compress the text file and then encrypt it. i hav worked on compression and its is working fine. and nw i hav to add encryption to it but the program is not asking for file instead for hexadecimal input, i want the code to ask for the file from user. As u said hex input is ideal,but how a usr can input hex data?
The user wouldn't enter hex data, what I would expect is that the encryption part of it would read the compressed file and encrypt that. So instead of prompting for input it should read the file that is the result of the first part.