Re: RSA - another question - WeOnlyDo Discussion board

Re: RSA - another question (General questions)

by wodSupport, Saturday, October 30, 2004, 21:04 (7119 days ago) @ mauricio

Mauricio,

RSA works on such chunks - from 128 (minus 11 I think) it generates 172. If you want to encrypt more than that - you need to split your content to chunks and then encrypt one by one.

But.. RSA isn't for encryption - it's for signatures. Usually, content is hashed with SHA1 or MD5 first, so you get only 16/20 chars to sign - and RSA can do that. Even more, if RSA encryption is very slow, so it's usually better to use asymetric cipher for encryption which is much much faster.

As for saving RSA keys - you can always specify a password. There is option to save it without password, for example, if you work in closed environment and want to automate things. Of course you should put password if someone can see your key.


Complete thread:

 

  • RSA - another question - mauricio, 2004-10-30, 04:27 [*]
    • Re: RSA - another question - wodSupport, 2004-10-30, 21:04