Re: Need simple lib for asymetric encryption
- From: "Widget" <widget@xxxxxxxxxxx>
- Date: Wed, 9 Aug 2006 19:13:07 +0200
"Unruh" <unruh-spam@xxxxxxxxxxxxxx> wrote in message
news:ebctul$p2m$1@xxxxxxxxxxxxxxxxxxxxxxxxx
"amzoti" <amzoti@xxxxxxxxx> writes:little bit
Oliver Eichler wrote:
Hi,
I am not a crypto specialist, thus please forgive me if I sound a
key2.clueless.
I would like to encrypt some data with key1 and decrypt it again with
key1If I got it right from all the stuff I have read so far you refere to
isas 'public key' and to key2 as 'private key'. Normally the public key
alwaysgenerated from the private key. Thus, who got the private key can
withgenerate the public key. Is this mandatory?
Public key crypto is abysmally slow. Noone ever actually encrypts data
a public key. They encrypt a random key for symmetric key crypto (ie theto
same key encrypts and decrypts loosely speaking) and use that much faster
symmetric crypto to actually encrypt the data.
Since one HAS to generate both the encryption and decryption key and has
make sure that the decryption key actually decrypts and that it is notto
derivable from any public data, it would seem that the only way is to
derive the public key from the private, or at least both from some other
private data.
What algorithm would I need to satisfy my needs? And is there a simple
be anuse, light weight C library?
RSA, DSA, Elliptic curve crypto.
I have looked into cryptlib, beecrypt and others.But they all seem to
overkill to my problem with a quite hard to understand API. Isn't there
something like :
I think that maybe you need to learn more before trying to impliment
crypto. The algorithm is the least of your worries. Key control is a far
worse worry.
Could you elaborate on that? Once generated you simply store the keys
somewhere on the disk, right?
--
Posted via a free Usenet account from http://www.teranews.com
.
- 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
- Re: Need simple lib for asymetric encryption
- From: amzoti
- Re: Need simple lib for asymetric encryption
- From: Unruh
- Need simple lib for asymetric encryption
- Prev by Date: Re: Replacement to PGP
- Next by Date: Re: Replacement to PGP
- Previous by thread: Re: Need simple lib for asymetric encryption
- Next by thread: Re: Need simple lib for asymetric encryption
- Index(es):
Relevant Pages
|