how to use libgcrypt library

Moritz Schulte
Wed, 23 Jul 2003 20:03:43 +0200

Neil Spring <> writes:

> There's also a newer, nicer interface in CVS; I chose to avoid it
> and use the existing stuff.

I'm just curious - why?

While having a quick look at your example code, I noticed that you use
an `int' variable for error values, although `gcry_error_t' is a
better choice.

Btw, in CVS there's also tests/pubkey.c, which shows how to use

((gpg-key-id . "6F984199")
 (email      . "")
 (webpage    . ""))