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. Need Data Encryption Advice

Need Data Encryption Advice

Scheduled Pinned Locked Moved C / C++ / MFC
c++csssecurityquestionlearning
5 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.
  • J Offline
    J Offline
    Jethro63
    wrote on last edited by
    #1

    Greetings: I need to encrypt some data in a file that is quite small, in most cases, less than 300 bytes. I just need something simple: Provide the function with a key and a block of data to encrypt and it returns with the block of data encrypted. A similar function to decrypt is needed, of course. Can anybody suggest something? I would prefer it be a C++ thing. Thanks in advance, Mark

    D L H 3 Replies Last reply
    0
    • J Jethro63

      Greetings: I need to encrypt some data in a file that is quite small, in most cases, less than 300 bytes. I just need something simple: Provide the function with a key and a block of data to encrypt and it returns with the block of data encrypted. A similar function to decrypt is needed, of course. Can anybody suggest something? I would prefer it be a C++ thing. Thanks in advance, Mark

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Jethro63 wrote:

      Can anybody suggest something?

      Have you tried searching CP? Here is but one example.


      "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

      "Judge not by the eye but by the heart." - Native American Proverb

      L 1 Reply Last reply
      0
      • J Jethro63

        Greetings: I need to encrypt some data in a file that is quite small, in most cases, less than 300 bytes. I just need something simple: Provide the function with a key and a block of data to encrypt and it returns with the block of data encrypted. A similar function to decrypt is needed, of course. Can anybody suggest something? I would prefer it be a C++ thing. Thanks in advance, Mark

        L Offline
        L Offline
        led mike
        wrote on last edited by
        #3

        They hide that information in the documentation[^] There are wrappers in ATL[^]

        led mike

        1 Reply Last reply
        0
        • D David Crow

          Jethro63 wrote:

          Can anybody suggest something?

          Have you tried searching CP? Here is but one example.


          "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

          "Judge not by the eye but by the heart." - Native American Proverb

          L Offline
          L Offline
          led mike
          wrote on last edited by
          #4

          DavidCrow wrote:

          Have you tried searching CP?

          Rhetorical question? :laugh:

          led mike

          1 Reply Last reply
          0
          • J Jethro63

            Greetings: I need to encrypt some data in a file that is quite small, in most cases, less than 300 bytes. I just need something simple: Provide the function with a key and a block of data to encrypt and it returns with the block of data encrypted. A similar function to decrypt is needed, of course. Can anybody suggest something? I would prefer it be a C++ thing. Thanks in advance, Mark

            H Offline
            H Offline
            Hamid Taebi
            wrote on last edited by
            #5

            You can search Encrypt on www.codeguru.com :)


            WhiteSky


            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