libgcrypt example code
C++ Makefile
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE.txt Initial commit. Nov 28, 2013
Makefile
README
gcry.cc
gcry.hh
keygen.cc
main.cc

README

This repo provides some starter code for working with libgcrypt.

Demo:

$ ./keygen rsapk.sp 
RSA key generation can take a few minutes. Your computer 
needs to gather random entropy. Please wait... 

RSA key generation complete! Please enter a password to lock 
your key pair. This password must be committed to memory. 

Keypair Password: 

$ ./main rsapk.sp 
Keypair Password: 
Original:
 48656C6C6F20776F726C642E
Decrypted:
 48656C6C6F20776F726C642E
Messages match.
-> Hello world.