No project description provided
Project description
Fast Verify
Support Rails style MessageVerifier for Python.
Install
pip install fast-verify
Usage
from fast_verify import CachingKeyGenerator, MessageVerifier
secret = b"aaa"
key_gen = CachingKeyGenerator(secret)
verifier = MessageVerifier(key_gen(b"purpose"))
verifier.read_message(verifier.create_message(b"haha"))
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
fast_verify-0.1.1.tar.gz
(2.6 kB
view details)
Built Distribution
File details
Details for the file fast_verify-0.1.1.tar.gz
.
File metadata
- Download URL: fast_verify-0.1.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5717692032f9499e7e093a207807150be3b0209161dbe207a2b04ad57f6ea5e6 |
|
MD5 | dfde423874a64831f76136bccc674bd4 |
|
BLAKE2b-256 | 67222d2aa2632c6ce5c897e20667670cdd8decb2531f5240b7df701e67738df0 |
File details
Details for the file fast_verify-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: fast_verify-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6316751ef1ef0c5cc013c2ad39a819075b53dbdc5c163439e95ffbd880cf8bc4 |
|
MD5 | 8e47ca062c85a6d93de9e71765981298 |
|
BLAKE2b-256 | 58a97615d5f40b63d3f527ef113141abcbf45fddcd9279a4eb5508a2012bad75 |