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 hashes)
Built Distribution
Close
Hashes for fast_verify-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6316751ef1ef0c5cc013c2ad39a819075b53dbdc5c163439e95ffbd880cf8bc4 |
|
MD5 | 8e47ca062c85a6d93de9e71765981298 |
|
BLAKE2b-256 | 58a97615d5f40b63d3f527ef113141abcbf45fddcd9279a4eb5508a2012bad75 |