Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News Editorials & Other Articles General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

ljm2002

(10,751 posts)
7. What you describe is a one-time pad...
Wed Nov 6, 2013, 02:26 PM
Nov 2013

...and it is essentially uncrackable if used only once.

The problem for online use is this: both parties need the key. Therefore, you need a secure way to send the key before sending the enciphered message. But the key for a one-time pad is the same length as the message, so if you have a secure way to send the key, you may as well just use it to send the message in the first place.

That is why public key encryption is the gold standard for online encryption. The protocols using public and private keys allow secure key exchange even over public channels. If the key values are large enough, this is also essentially uncrackable, assuming you are using software and hardware without any back doors...

Recommendations

0 members have recommended this reply (displayed in chronological order):

Latest Discussions»Retired Forums»Website, DB, & Software Developers»A question on an encrypti...»Reply #7