Kriston J. Rehberg (kriston@ibm.net)
Tue, 16 Jun 1998 19:52:03 -0400
Yah, and be sure that the random number generator you use to generate
that secret key is really, really strong!
Don't have another Netscape problem. You might end up in Dr. Dobb's
Journal.
Kris
Marcus Watts writes:
>You wrote:
>> From: Teh Kao Yang <tehyang@gate.infoexpress.com>
>> To: CodherPlunks@toad.com
>> Subject: Need RSA Encryption for bulk data
>>
>> Hi all,
>>
>> Does anyone know if there is any available libraries out there that can
>> do RSA public-key-type of encryption for data? Basically I need to
>> RSA encrypt some bulk data with a private key. I looked at the
>> RSAREF and Microsoft Crypto API libraries, and they all have a lot of
>> functions supporting encryption, signing, and lots more.. but for some
>> reason they just don't suppor this one functionality I'm looking for...
>>
>> I'm sorry if this is a really dumb question, but I'm just starting out
>> with crypto programming and didn't know where else to look for advice...
>>
>> Thanks a bunch
>> TK
>>
>>
>>
>
>You won't find one, because RSA is really really slow,
>and a really bad way to encrypt large amounts of data.
>What people do instead, is to use RSA to encrypt a secret
>key, then use the secret key to encrypt the bulk data.
>
>For instance, older versions of PGP use "idea" to do the
>bulk encryption. For more code bases to look at, you
>might look at PGP, and SSLeay.
>
> -Marcus Watts
> UM ITD PD&D Umich Systems Group
>
-- Kriston J. Rehberg AOL: Kriston http://kriston.net/
The following archive was created by hippie-mail 7.98617-22 on Fri Aug 21 1998 - 17:18:33 ADT