aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/twofactor.rst
diff options
context:
space:
mode:
authorAyrx <terrycwk1994@gmail.com>2014-02-21 10:59:05 +0800
committerAyrx <terrycwk1994@gmail.com>2014-02-21 11:13:35 +0800
commit94c73592a8433b4b9567f0c57c9bedadc0e927f7 (patch)
tree31c9290259d098b34552c7f96cafc1546a6b3659 /docs/hazmat/primitives/twofactor.rst
parent8c1ad596b02f89cde6040e8626e07ca352182130 (diff)
downloadcryptography-94c73592a8433b4b9567f0c57c9bedadc0e927f7.tar.gz
cryptography-94c73592a8433b4b9567f0c57c9bedadc0e927f7.tar.bz2
cryptography-94c73592a8433b4b9567f0c57c9bedadc0e927f7.zip
Added "version added" to docs
Diffstat (limited to 'docs/hazmat/primitives/twofactor.rst')
-rw-r--r--docs/hazmat/primitives/twofactor.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/twofactor.rst b/docs/hazmat/primitives/twofactor.rst
index 2b811e1e..9d661612 100644
--- a/docs/hazmat/primitives/twofactor.rst
+++ b/docs/hazmat/primitives/twofactor.rst
@@ -15,6 +15,8 @@ codes (HMAC).
.. class:: HOTP(key, length, backend)
+ .. versionadded:: 0.3
+
HOTP objects take a ``key`` and ``length`` parameter. The ``key``
should be randomly generated bytes and is recommended to be 160 bits in
length. The ``length`` parameter controls the length of the generated