Re: Need simple lib for asymetric encryption
- From: "amzoti" <amzoti@xxxxxxxxx>
- Date: 9 Aug 2006 07:51:57 -0700
Oliver Eichler wrote:
Hi,
I am not a crypto specialist, thus please forgive me if I sound a little bit
clueless.
I would like to encrypt some data with key1 and decrypt it again with key2.
If I got it right from all the stuff I have read so far you refere to key1
as 'public key' and to key2 as 'private key'. Normally the public key is
generated from the private key. Thus, who got the private key can always
generate the public key. Is this mandatory?
What algorithm would I need to satisfy my needs? And is there a simple to
use, light weight C library?
I have looked into cryptlib, beecrypt and others.But they all seem to be an
overkill to my problem with a quite hard to understand API. Isn't there
something like :
generateKeypair(key1,key2)
encrypt(key1,...)
decrypt(key2,...)
And that's it.
Thanks for help
oliver
Did you look at libtomcrypt?
Maybe it is a better choice if things like PGP or Crypto++ are not.
Good luck!
.
- Follow-Ups:
- Re: Need simple lib for asymetric encryption
- From: Unruh
- Re: Need simple lib for asymetric encryption
- References:
- Need simple lib for asymetric encryption
- From: Oliver Eichler
- Need simple lib for asymetric encryption
- Prev by Date: Re: Generate a one-time pad from say a 256bit key?
- Next by Date: Re: pls recommend some journal/conference on cryptography
- Previous by thread: Need simple lib for asymetric encryption
- Next by thread: Re: Need simple lib for asymetric encryption
- Index(es):
Relevant Pages
|