3 ms·
GPG, of course, allows you to use asymmetric crypto and currently supports RSA, RSA-E, RSA-S, ELG-E, and DSA algorithms for that purpose. But for bulk data enc
by brockers 10y ago
GPG, of course, allows you to use asymmetric crypto and currently supports RSA, RSA-E, RSA-S, ELG-E, and DSA algorithms for that purpose.
But for bulk data encrypting good symmetric (AES, CAST5, etc.) is both more secure and significantly faster.
- raimue 10y agoYou should be aware that even for asymmetric encryption, only a one-time document-specific key will be encrypted with the asymmetric algorithm. The document itself will always be encrypted using a symmetric cipher. This is how the same document can be encrypted for multiple recipients efficiently, without duplication all the data. First the document is encrypted with a symmetric key, which is then encrypted with the public key of each recipient. This information will be prepended to the actual encrypted document. For details see: https://tools.ietf.org/html/rfc4880#section-2.1 https://tools.ietf.org/html/rfc4880#section-2.1
- Xophmeister 10y agoGPG 2.1 (via libgcrypt) also supports various elliptic curve algorithms for asymmetric crypto, depending on what version of libgcrypt you have.