Calculating Buffer Size

David Shaw dshaw at
Fri Jul 14 14:40:39 CEST 2006

On Wed, Jul 12, 2006 at 04:19:36PM -0400, Adam Schreiber wrote:
> Is there a way to calculate the unencrypted or unsigned size of an ASCII
> armored encrypted message given the size of the message and the length
> of the key?

Yes, but not if compression is turned on (as it is by default).
Factors are key size, key algorithm, and number of recipients to the


More information about the Gnupg-users mailing list