What's the encryption flow?

Jon Debonis Jondebonis at gmail.com
Thu Sep 26 23:30:04 CEST 2013


Is there a document or diagram that explains how encryption happens?

This is what I assume from http://www.gnupg.org/gph/en/manual/c173.html

rand_key = GenerateRandomKey(bits)
rand_key_e = E_pk(rand_key)

cypher_text = E_rand_key(plain_text)

unsigned_message = headers + rand_key_e + cypher_text

... sign message...

Where E_pk === encrypt with public key (asymmetric);
  E_rand_key === encrypt with random_key (symmetric);

Using user-specified ciphers.

Jon




-- 
jondebonis at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20130926/e965dac5/attachment.html>


More information about the Gnupg-users mailing list