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. Easy to use asymmetric (public key) encryption

Easy to use asymmetric (public key) encryption

Scheduled Pinned Locked Moved C / C++ / MFC
databasealgorithmssecuritycryptography
1 Posts 1 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.
  • P Offline
    P Offline
    peterchen
    wrote on last edited by
    #1

    What I'm looking for is the basic equivalent of the following functions

    pair GenerateKeyPair();

    void Encrypt(Blob & data, Blob key);
    void Decrypt(Blob & data, Blob otherkey);

    Expectations: Free for commercial use, source code or static library, quality algorithm, quality code, no babbling about prime numbers and padding and Bob's love live in the documentation. Ideally doesn't pull in a massive project that takes an hour to configure and build. Doesn't need to be blindingly fast, doesn't need to thwart the NSA or the credit card mafia. I've looked at Crypto++ as most likely candidate, but it's still not exactly lazy dev friendly. (I tried to post in quick answers, but it wouldn't let me. Maybe there's now half a dozen duplicate questions in you database, Chris!)

    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