Skip to main content

Python 3 password hashing library

Project description

Wachtwoord is a password hashing library currently specific to Python 3. It was written as none of the existing password hashing libraries supported Python 3. Porting one of the existing libraries could have been an option. However writing Wachtwoord proofed a good exercise in creating a complete Python package for distribution.

Supported hashing schemes

At the moment only one specific scheme is supported: PBKDF2 <>

The algorithm implemented here was modelled after/copied from:

Basic Usage

from wachtwoord.pbkdf2 import Engine
engine = Engine()
hash_encoded_password = engine.hash('secret_123')

is_correct_password = engine.verify('secret_123', hash_encoded_password)

or alternatively:

from wachtwoord.pbkdf2 import hash_password, verify_password
hash_encoded_password = hash_password('secret_123')

is_correct_password = verify_password('secret_123', hash_encoded_password)

Origin of the name Wachtwoord

Wachtwoord is Dutch for password.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wachtwoord-0.1.tar.gz (4.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page