Re: encryption question
- From: matthew@xxxxxxxxxxxxxxxxxxxxxxxxxxxx (Matthew Jones)
- Date: Tue, 29 Jan 2008 19:30 +0000 (GMT Standard Time)
FWIW, one big lesson I learned about public key encryption is that it is
very slow and basically unusable for large streams, where large is defined
in a few hundred bytes or more. The solution is to generate a random key,
then encrypt that using the private key, then encrypt the rest using
symmetric encryption which is sensibly fast. Reverse the process to
decrypt.
My first attempt at encrypting/decrypting using public/private took about
5 seconds to read 2k of data. I felt that was too long! Re-doing it
"properly" meant it became "instant", but just as secure.
/Matthew Jones/
.
- References:
- Re: encryption question
- From: Rael
- Re: encryption question
- Prev by Date: Re: dialog box at sign in...anyone know of a component to do this
- Next by Date: Re: encryption question
- Previous by thread: Re: encryption question
- Next by thread: Re: encryption question
- Index(es):
Relevant Pages
|