Re: RSA Encryption
- From: "William Stacey [MVP]" <staceywREMOVE@xxxxxxxx>
- Date: Fri, 1 Jul 2005 11:46:11 -0400
That is what I was saying. You can't actually encrypt 128 because of the
padding. Maybe you can if no padding is used, but not sure. It is key size
related, so a larger key can encrypt more bytes. But normally you will want
a symmetric encryption for large amounts of data.
--
William Stacey [MVP]
"no game" <xiangliang@xxxxxxxxxxx> wrote in message
news:1120158831.054683.76500@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> For RSA 1024 bit encryption,
>
> Is it mean the output number of byte is always 128 bytes, and you can
> not encrypt more than 128 bytes of data.
>
> Thanks
>
> William Stacey [MVP] wrote:
>> The 117 byte limit is related to the size of the Asymetric key size. You
>> can only encrypt in block of something < key size depending on what
>> padding
>> is being used. However, most use a faster symmetric algo like AES
>> (Rijindael) then encrypt the key and IV with an RSA symmetric key.
>> --
>> William Stacey [MVP]
>>
>> "no game" <xiangliang@xxxxxxxxxxx> wrote in message
>> news:1119990515.967299.264100@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> > Can I encrypt data more than 117 bytes in C# (can use CAPICOM and
>> > Crypto API libraries) using RSA 1024 bit.
>> >
>> > Any sample code would be appreciated.
>> >
>> > Thanks
>> >
>
.
- Follow-Ups:
- Re: RSA Encryption
- From: no game
- Re: RSA Encryption
- Prev by Date: RE: strange problem with dlg.ShowDialog(); - Help !!!
- Next by Date: collision detection
- Previous by thread: Multicast Delegate bug?
- Next by thread: Re: RSA Encryption
- Index(es):
Relevant Pages
|