Skip to content

Commit

Permalink
Add deprecation rationale
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Dec 23, 2015
1 parent b443adf commit be4c1fd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ The raw hash can also be computed:
Deprecated APIs
---------------

These APIs are from the first release of ``argon2_cffi`` and proved to live in an unfortunate mid-level.
On one hand they have defaults and check parameters but on the other hand they only consume byte strings.

Therefore the decision has been made to replace them by a high-level (:class:`argon2.PasswordHasher`) and a low-level (:mod:`argon2.low_level`) solution.
There are no immediate plans to remove them though.

.. autofunction:: argon2.hash_password
.. autofunction:: argon2.hash_password_raw
.. autofunction:: argon2.verify_password

0 comments on commit be4c1fd

Please sign in to comment.