AES code implementation in C++
-
i am having trouble in AES code implementation in c++.Can any one help in c++ coding point of view thank you
-
i am having trouble in AES code implementation in c++.Can any one help in c++ coding point of view thank you
There are multiple examples in the net. The Wikipedia is often a good starting point due to the provided references and links: AES implementations - Wikipedia, the free encyclopedia[^]. There is even a (rather old) article here at CodeProject: A C++ Implementation of the Rijndael Encryption/Decryption method[^]
-
There are multiple examples in the net. The Wikipedia is often a good starting point due to the provided references and links: AES implementations - Wikipedia, the free encyclopedia[^]. There is even a (rather old) article here at CodeProject: A C++ Implementation of the Rijndael Encryption/Decryption method[^]
i have seen these web pages and code it according to that algorithm i am now in final position in that code and the problem is that it is not encoding correctly and decoding as well so could you help me in that case thank you very much
-
i have seen these web pages and code it according to that algorithm i am now in final position in that code and the problem is that it is not encoding correctly and decoding as well so could you help me in that case thank you very much
Without seeing your code neither I nor any other here can help. If you just need working code, use an existing implementation. Otherwise show your code and what you have tried / where it fails. To do this, edit your question and add the relevant code formatting it using the 'code' option above the edit window (should be not too much code). Another tip is using an existing implementation with the same arguments and comparing the results. So you can detect if encryption, decryption or both are failing.
-
i have seen these web pages and code it according to that algorithm i am now in final position in that code and the problem is that it is not encoding correctly and decoding as well so could you help me in that case thank you very much
[Note: Enquirer has send a mail to me containing the code] You had asked for help in a public forum. Then you should let others participate in the discussion. But the complete code would be too much to be posted here and I have no time to step through that amount of code. Especially because it does not contain comments and begins with the inclusion of other source files which is bad C/C++ style. If you find someone who can help you should at least tell which of these "web pages" has been used by you and which code parts has been written by you or has been copied.