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.0.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for fast_verify-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbdbae5015d2d12c214e4bed8e38586742e3698133ab1c76f2abc83370d8d253 |
|
MD5 | e61e73d6047e3b670e7e5605dbe164c4 |
|
BLAKE2b-256 | 823e7e5f67481f8c8dc382e051e6ee14d273c6d8c76b926df4b3be08652f59f0 |