Skip to main content

Hashers

A password encoding/hasing library for Python using Djangohashers Rust crate.

Installation

pip3 install hashers

Available APIs

def hashpw(password: str, algorithm: str)  -> str
def hashpw_with_salt(password: str, salt: str, algorithm: str)  -> str
def chk_password(password: str, hashpw: str) -> bool

Examples

>> from hashers import hashpw, hashpw_with_salt, chk_password
>> encoded_pass_1 = hashpw("password123", "blake2")
>> encoded_pass_2 = hashpw_with_salt("password123", "sdpql", "blake2")
>> chk_password(encoded_pass_1, "password123")

Available algorithms:

  • Argon2
  • BCrypt
  • PBKDF2 (Default)
  • PBKDF2SHA1
  • BCryptSHA256

Metadata

Release files for hashers 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hashers 0.2.2
File Size Uploaded Provenance Actions
hashers-0.2.2.tar.gz 4.2 kB Without provenance Details for hashers-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hashers 0.2.2
File Interpreter ABI Platform Actions
hashers-0.2.2-cp36-abi3-manylinux2010_x86_64.whl CPython 3.6 abi3 Linux glibc 2.12+ x86-64 Details for hashers-0.2.2-cp36-abi3-manylinux2010_x86_64.whl

Total release size: 640.0 kB

Release files / hashers-0.2.2.tar.gz

Download URL hashers-0.2.2.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2b8e80dd18a87bd961835cd45bafe4a3ab8841167757908a669992be20eac0c5
BLAKE2b-256 checksum
How to use checksums
8831369fb7c9715d0cde8e6f32df9cecde7db39fc683c0606d08d310fb3b48c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.9.1

Release files / hashers-0.2.2-cp36-abi3-manylinux2010_x86_64.whl

Download URL hashers-0.2.2-cp36-abi3-manylinux2010_x86_64.whl
Size 635.8 kB
Tags CPython 3.6 Linux glibc 2.12+ x86-64 abi3
SHA-256 checksum
How to use checksums
a727304078fdbb78a182859b63f14e123769e1c04b03b56b191591a702ef0bd6
BLAKE2b-256 checksum
How to use checksums
168959bd47e1d61969e8fc980ef355e7af0179da54da0384d586d0ac2d874ab3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.9.1

Security for hashers 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page