diff options
author | Donald Stufft <donald@stufft.io> | 2015-06-12 17:04:32 -0400 |
---|---|---|
committer | Donald Stufft <donald@stufft.io> | 2015-06-12 17:04:32 -0400 |
commit | 960645a2dc811cc5715dd44c3baadaab80921034 (patch) | |
tree | 1701096fff3ddf4dcca4f6e45783da36b63670ac /README.rst | |
parent | 1787cafb83a02e1e2e740fbdd5b30c32dfc62cf2 (diff) | |
download | py-bcrypt-git-960645a2dc811cc5715dd44c3baadaab80921034.tar.gz |
Document the adjustable prefix
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -64,6 +64,14 @@ the work factor merely pass the desired number of rounds to ... print("It Does not Match :(") +Adjustable Prefix +~~~~~~~~~~~~~~~~~ + +Another one of bcrypt's features is an adjustable prefix to let you define what +libraries you'll remain compatible with. To adjust this, pass either ``2a`` or +``2b`` (the default) to ``bcrypt.gensalt(prefix=b"2b")`` as a bytes object. + + Compatibility ------------- |