diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-03-11 21:18:06 -0400 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-03-11 21:18:06 -0400 |
commit | 26e5d3fb3e3bd10e97a473ba41f6e0bfc03d7462 (patch) | |
tree | c1eff80b8756af3f7613fb6deb231d8b404f5ad2 /docs | |
parent | d70ed95d37e3ce5f86ed8018e5051ad3aed9fe3a (diff) | |
download | cryptography-26e5d3fb3e3bd10e97a473ba41f6e0bfc03d7462.tar.gz cryptography-26e5d3fb3e3bd10e97a473ba41f6e0bfc03d7462.tar.bz2 cryptography-26e5d3fb3e3bd10e97a473ba41f6e0bfc03d7462.zip |
document MAX_LENGTH
Diffstat (limited to 'docs')
-rw-r--r-- | docs/hazmat/primitives/asymmetric/padding.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/asymmetric/padding.rst b/docs/hazmat/primitives/asymmetric/padding.rst index 632f6985..8a034329 100644 --- a/docs/hazmat/primitives/asymmetric/padding.rst +++ b/docs/hazmat/primitives/asymmetric/padding.rst @@ -34,5 +34,10 @@ Mask Generation Functions :param int salt_length: The length of the salt. It is recommended that this be set to ``MGF1.MAX_LENGTH``. + .. attribute:: MAX_LENGTH + + Pass this attribute to ``salt_length`` to get the maximum salt length + available. + .. _`Padding is critical`: http://rdist.root.org/2009/10/06/why-rsa-encryption-padding-is-critical/ |