Calculating Buffer Size

2006-07-14 Thread Adam Schreiber
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

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?

Cheers,

Adam Schreiber
- --
Why isn't all of your email protected?
http://gnupg.org
http://enigmail.mozdev.org
http://seahorse.sourceforge.net
http://live.gnome.org/Seahorse
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEtVlYjU1oaHEI4wgRAlPQAKCMlTMv7QgvMvq+7jFroHHQTFC4ZACgmgnN
H/sADn5mYebQ92ZdUySDNR4=
=aKI2
-END PGP SIGNATURE-

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Calculating Buffer Size

2006-07-14 Thread David Shaw
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
message.

David

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users