A hashing utility built from Drupal7 specification.
Project description
A hashing utility built from Drupal7 specification.
- Free software: MIT license
Installation
pip install drupal-hash-utility
Documentation
To use the project:
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:
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for drupal-hash-utility-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48f1d605df30be3b8a58a72738364c01e90354c19b65ae1ad08e16d57dbb0f46 |
|
MD5 | d063ff6f843fcc0e7e48ac7269080dac |
|
BLAKE2-256 | 034205586a8a8e228416681d3738c0323d44f1aaa2c4f25b4e42ceaf2319ff26 |