![]() ![]() ![]() This has the benefit of fast file encryption/decryption whilst still requiring a non-shared private key to get access to the key needed to decrypt the files. The alternative, and commonly used approach, is to use a shared key algorithm to encrypt/decrypt the files, and then use a public key algorithm to encrypt/decrypt the (randomly generated) key used by the shared key algorithm. It is generally not advisable to use a public key encryption algorithm such as RSA to directly encrypt files, since (i) public key encryption is slow, and (ii) it will only let you encrypt small things (.well, I haven't managed to get it to encrypt big things ) This HOWTO describes one way of implementing public key encryption in Java. ![]() Welcome // About Me // Publications // People // Conference List // Lore // Contact Encrypting files with Public Key Encryption in Java ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |