semvec/pypi-packages huggingface dataset:
drupal-hash-utility 1.0.0
A hashing utility built from Drupal7 specification.
License: MIT license
Requires Python: >=3.6
Keywords: drupal,hash,password

========
Overview
========



A hashing utility built from Drupal7 specification.

* Free software: MIT license

Installation
============

::

    pip install drupal-hash-utility

Documentation
=============


To use the project:

.. code-block:: python

    import drupal_hash_utility


    drash = DrupalHashUtility()

    # Read the Help Docs
    print(help(drash))


    # Generate Drupal7 Hash
    password = 'P@ssw0rd'
    encoded = drash.encode(password)

    # Verify Password Against Hash
    drash.verify(password, encoded)

    # Get Hash Summary
    drash.summary(encoded)


Development
===========

To run the all tests run::

    tox

Note, to combine the coverage data from all the tox environments run:

.. list-table::
    :widths: 10 90
    :stub-columns: 1

    - - Windows
      - ::

            set PYTEST_ADDOPTS=--cov-append
            tox

    - - Other
      - ::

            PYTEST_ADDOPTS=--cov-append tox


Changelog
=========

0.3.3 (2019-08-15)
------------------

* First release on PyPI.

1.0.0 (2019-08-16)
------------------

* Added cli.