Skip to main content

Makwa

https://travis-ci.org/AntonKueltz/makwa.svg?branch=master https://badge.fury.io/py/makwa.svg

Makwa is a password hashing function designed by Thomas Pornin. This implementation is in pure python with no 3rd party dependencies. From the Passwords14 Slides:

Makwa is a candidate to the Password Hashing Competition.

Main characteristics:
* based on modular arithmetics
* CPU-only cost (not memory-hard)
* algebraic structure enables advanced features: offline work
* factor increase, fast path, escrow
* can be delegated
* named after the Ojibwe name for the American black bear

Reference Material

Installation

pip install makwa

Usage

from makwa import hashpw, checkpw

hashed_pw = hashpw(
    password,
    n,
    h=<hash function>,
    salt=<optional salt>,
    work_factor=<rounds>,
    pre_hash=<True|False>,
    post_hash=<length|None>
)
# returns a boolean
is_valid = checkpw(
    password,
    hashed_pw,
    n,
    h=<hash function>
)

Metadata

Release files for makwa 1.0.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 makwa 1.0.2
File Size Uploaded Provenance Actions
makwa-1.0.2.tar.gz 5.6 kB Without provenance Details for makwa-1.0.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for makwa 1.0.2
File Interpreter ABI Platform Actions
makwa-1.0.2-py3-none-any.whl Python 3 none any Details for makwa-1.0.2-py3-none-any.whl
makwa-1.0.2-py2-none-any.whl Python 2 none any Details for makwa-1.0.2-py2-none-any.whl

Total release size: 19.1 kB

Release files / makwa-1.0.2.tar.gz

Download URL makwa-1.0.2.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8aa9f1215d568d284c003c0b484c148e3150612936c31e6db1bb6acbe762e602
BLAKE2b-256 checksum
How to use checksums
243bb19f938086682de60520b761d42342dab913d63e1b94f6c444cc6e9f5f1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / makwa-1.0.2-py3-none-any.whl

Download URL makwa-1.0.2-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c7670580ebb7eaa6def162289bb79a07ef500a338271a9b863488c0130f52dd
BLAKE2b-256 checksum
How to use checksums
b2bc9b7ac41792653516af4c95446b0d7d5ec6c8901229c4309e727f21899db0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / makwa-1.0.2-py2-none-any.whl

Download URL makwa-1.0.2-py2-none-any.whl
Size 6.7 kB
Tags Python 2
SHA-256 checksum
How to use checksums
b6c39d0aa9eb5c4b084b3f2e0db6ab44318bf3678d2c329dec5477004902923f
BLAKE2b-256 checksum
How to use checksums
8a6278c758889386d657cd5983c72857569a16dcc586d23e7ae641336be84686
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for makwa 1.0.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