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. C / C++ / MFC
  4. encryption symetric

encryption symetric

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialc++securityhelp
12 Posts 4 Posters 0 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.
  • 3 Offline
    3 Offline
    3loka
    wrote on last edited by
    #1

    hi if any one can help me... i need code for encryption "symetric" by vc++ couse i tried befor to anderstanding how to code it but i need example or some thing to read about kind of encry by vc++... i hope some one can help by sending me algor.. or code.. thanks alot.

    2 F 2 Replies Last reply
    0
    • 3 3loka

      hi if any one can help me... i need code for encryption "symetric" by vc++ couse i tried befor to anderstanding how to code it but i need example or some thing to read about kind of encry by vc++... i hope some one can help by sending me algor.. or code.. thanks alot.

      2 Offline
      2 Offline
      224917
      wrote on last edited by
      #2

      Here is some msdn link that may be helpful. example_c_program_decrypting_a_file.asp[^] example_c_program_decrypting_a_file.asp[^]


      suhredayan
      There is no spoon.

      A 1 Reply Last reply
      0
      • 2 224917

        Here is some msdn link that may be helpful. example_c_program_decrypting_a_file.asp[^] example_c_program_decrypting_a_file.asp[^]


        suhredayan
        There is no spoon.

        A Offline
        A Offline
        Alexander M
        wrote on last edited by
        #3

        Hmmm... Microsoft CryptoAPI can be a problem, because there are windows versions in some countries that do not support it. There are websites that provide information on different algorithms, some of them also provide source codes. Google for it. If you need a hint on what symmetric algorithm to use, I propose AES (Advanced Encryption Standard alias "Rijndael") to you. Don't try it, just do it! ;-)

        2 1 Reply Last reply
        0
        • A Alexander M

          Hmmm... Microsoft CryptoAPI can be a problem, because there are windows versions in some countries that do not support it. There are websites that provide information on different algorithms, some of them also provide source codes. Google for it. If you need a hint on what symmetric algorithm to use, I propose AES (Advanced Encryption Standard alias "Rijndael") to you. Don't try it, just do it! ;-)

          2 Offline
          2 Offline
          224917
          wrote on last edited by
          #4

          Alexander M. wrote: Hmmm... Microsoft CryptoAPI can be a problem, because there are windows versions in some countries that do not support it. Thanks for the information, can you please provide some link which says this ? Also are there separate versions of windows for some countries ?


          suhredayan
          There is no spoon.

          A 1 Reply Last reply
          0
          • 2 224917

            Alexander M. wrote: Hmmm... Microsoft CryptoAPI can be a problem, because there are windows versions in some countries that do not support it. Thanks for the information, can you please provide some link which says this ? Also are there separate versions of windows for some countries ?


            suhredayan
            There is no spoon.

            A Offline
            A Offline
            Alexander M
            wrote on last edited by
            #5

            No seperate versions of windows, but seperate versions of CryptoAPI. Some countries have special laws and classify cryptographics as military technology. I don't have any links for you, but I'm sure you will find very much information using google. Just use "AES" as keyword. Don't try it, just do it! ;-)

            3 1 Reply Last reply
            0
            • 3 3loka

              hi if any one can help me... i need code for encryption "symetric" by vc++ couse i tried befor to anderstanding how to code it but i need example or some thing to read about kind of encry by vc++... i hope some one can help by sending me algor.. or code.. thanks alot.

              F Offline
              F Offline
              Francesco Aruta
              wrote on last edited by
              #6

              Hi, there are several libraries that can be used. Most of them supports a lot of algorithms. The most used should be Crypto++ but I'd like cryptlib also (in my opinion it's easier to use and to add in VC projects ;)). Imho it's really hard to understand how encryption works starting from code, so I suggest you to start from some RFC or something similar (a good example would be rjindael but you can "google" for a lot of other example ;)) Bye, Francesco

              3 2 Replies Last reply
              0
              • F Francesco Aruta

                Hi, there are several libraries that can be used. Most of them supports a lot of algorithms. The most used should be Crypto++ but I'd like cryptlib also (in my opinion it's easier to use and to add in VC projects ;)). Imho it's really hard to understand how encryption works starting from code, so I suggest you to start from some RFC or something similar (a good example would be rjindael but you can "google" for a lot of other example ;)) Bye, Francesco

                3 Offline
                3 Offline
                3loka
                wrote on last edited by
                #7

                thanks alot for ur help ... i choosed algorithm called blowfish and i get some info about it but i didn't found good code vc++ or discrition about it.. if u can help me to found simple project to try it and see hoe it is working ... it will be big help for me and thanks again for information.. for all

                F 1 Reply Last reply
                0
                • 3 3loka

                  thanks alot for ur help ... i choosed algorithm called blowfish and i get some info about it but i didn't found good code vc++ or discrition about it.. if u can help me to found simple project to try it and see hoe it is working ... it will be big help for me and thanks again for information.. for all

                  F Offline
                  F Offline
                  Francesco Aruta
                  wrote on last edited by
                  #8

                  There are several example in codeproject using blowfish this and this are two implementation ;) Bye, Francesco

                  3 1 Reply Last reply
                  0
                  • F Francesco Aruta

                    There are several example in codeproject using blowfish this and this are two implementation ;) Bye, Francesco

                    3 Offline
                    3 Offline
                    3loka
                    wrote on last edited by
                    #9

                    thanks ..

                    3 1 Reply Last reply
                    0
                    • 3 3loka

                      thanks ..

                      3 Offline
                      3 Offline
                      3loka
                      wrote on last edited by
                      #10

                      hi.. plz if u can give to me a project made by vc++ for blowfish or aes algorithms for encryption easy to understand.. i tried to use that one in code project it's soo good but not easy to me i want to trying to cood it by my self i couldn't,,, if u can help me sorry for asking alot.. thanks forr all

                      1 Reply Last reply
                      0
                      • A Alexander M

                        No seperate versions of windows, but seperate versions of CryptoAPI. Some countries have special laws and classify cryptographics as military technology. I don't have any links for you, but I'm sure you will find very much information using google. Just use "AES" as keyword. Don't try it, just do it! ;-)

                        3 Offline
                        3 Offline
                        3loka
                        wrote on last edited by
                        #11

                        hi.. plz if u can give to me a project made by vc++ for blowfish or aes algorithms for encryption easy to understand.. i tried to use that one in code project it's soo good but not easy to me i want to trying to cood it by my self i couldn't,,, if u can help me sorry for asking alot.. thanks forr all

                        1 Reply Last reply
                        0
                        • F Francesco Aruta

                          Hi, there are several libraries that can be used. Most of them supports a lot of algorithms. The most used should be Crypto++ but I'd like cryptlib also (in my opinion it's easier to use and to add in VC projects ;)). Imho it's really hard to understand how encryption works starting from code, so I suggest you to start from some RFC or something similar (a good example would be rjindael but you can "google" for a lot of other example ;)) Bye, Francesco

                          3 Offline
                          3 Offline
                          3loka
                          wrote on last edited by
                          #12

                          or for (des) data encryption standarad.. code or algorithm

                          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