Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. AES code implementation in C++

AES code implementation in C++

Scheduled Pinned Locked Moved Managed C++/CLI
c++help
5 Posts 2 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member 12216380
    wrote on last edited by
    #1

    i am having trouble in AES code implementation in c++.Can any one help in c++ coding point of view thank you

    J 1 Reply Last reply
    0
    • M Member 12216380

      i am having trouble in AES code implementation in c++.Can any one help in c++ coding point of view thank you

      J Offline
      J Offline
      Jochen Arndt
      wrote on last edited by
      #2

      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[^]

      M 1 Reply Last reply
      0
      • J Jochen Arndt

        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[^]

        M Offline
        M Offline
        Member 12216380
        wrote on last edited by
        #3

        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

        J 2 Replies Last reply
        0
        • M Member 12216380

          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

          J Offline
          J Offline
          Jochen Arndt
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          • M Member 12216380

            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

            J Offline
            J Offline
            Jochen Arndt
            wrote on last edited by
            #5

            [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.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups