summaryrefslogtreecommitdiff
path: root/docs/lib/passlib.hash.bcrypt.rst
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2016-06-15 18:07:59 -0400
committerEli Collins <elic@assurancetechnologies.com>2016-06-15 18:07:59 -0400
commitce23c2ab15e70b612cbd902bf0513c0cf6d734e9 (patch)
tree3b44c5799cd1aff93244d42d2c87e891b4b60e6d /docs/lib/passlib.hash.bcrypt.rst
parentfbe95e1cd44c27c9b32dc8dfa3008b59ffbc9baa (diff)
downloadpasslib-ce23c2ab15e70b612cbd902bf0513c0cf6d734e9.tar.gz
renamed PasswordHandler.replace() back to PasswordHandler.using()
this basically reversed rev 5c41b0153d4f; after using it a bit more, decided the name didn't indicate as well what the method was doing.
Diffstat (limited to 'docs/lib/passlib.hash.bcrypt.rst')
-rw-r--r--docs/lib/passlib.hash.bcrypt.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/lib/passlib.hash.bcrypt.rst b/docs/lib/passlib.hash.bcrypt.rst
index 68f6aea..a9af17e 100644
--- a/docs/lib/passlib.hash.bcrypt.rst
+++ b/docs/lib/passlib.hash.bcrypt.rst
@@ -19,7 +19,7 @@ for new applications. This class can be used directly as follows::
'$2a$12$NT0I31Sa7ihGEWpka9ASYrEFkhuTNeBQ2xfZskIiiJeyFXhRgS.Sy'
>>> # the same, but with an explicit number of rounds
- >>> bcrypt.replace(rounds=8).hash("password")
+ >>> bcrypt.using(rounds=8).hash("password")
'$2a$08$8wmNsdCH.M21f.LSBSnYjQrZ9l1EmtBc9uNPGL.9l75YE8D8FlnZC'
>>> # verify password