What's the encryption flow?

Werner Koch wk at gnupg.org
Fri Sep 27 17:56:19 CEST 2013

On Thu, 26 Sep 2013 23:30, Jondebonis at gmail.com said:
> Is there a document or diagram that explains how encryption happens?

Yes, RFC-4880 has all the details.

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

> cypher_text = E_rand_key(plain_text)

Bascially correct.

> ... sign message...
> Where E_pk === encrypt with public key (asymmetric);

I don't understand this.  For signing, you use a sign algorithms.  It is
just a coincidence that the core of the RSA algorithm is used in a kind
of reversed mode for signature.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gnupg-users mailing list