RSA File Encryption
-
i am currently doing comparison on the performance of DES and RSA. i had oledi finished the code on DES. however, i cannot find any information on RSA. i was wondering whether u have any sample code/information on RSA file encryption? would u share it with me? thank you very much. regards yccheok
-
i am currently doing comparison on the performance of DES and RSA. i had oledi finished the code on DES. however, i cannot find any information on RSA. i was wondering whether u have any sample code/information on RSA file encryption? would u share it with me? thank you very much. regards yccheok
RSA encryption is typically not used for bulk encryption, like a whole file. Instead what would typically be done would be done is to use a symmetrical-key encryption (like DES, RC-2 or RC-4) to using a randomly selected key, then encrypt this key using RSA so that it can be sent along with the encrypted file. This might be a good starting point for you: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/cryptographic_keys.asp Burt Harris