Decryptor for JS's WebCryptoAPI-encrypted timestamps
Project description
cryptozaurus
Decryptor for JS Crypto-encrypted timestamp tokens.
Install
pip install cryptozaurus
Usage
from cryptozaurus import is_timestamp_valid
token: str = "32_symbols_unicode_as_msg+iv_hex"
secret: str = "16symbolsunicode" # same key used by the JS side
ts: bool = is_timestamp_valid(token, secret)
print(ts)
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cryptozaurus-0.1.2.tar.gz
(4.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cryptozaurus-0.1.2.tar.gz.
File metadata
- Download URL: cryptozaurus-0.1.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b73181a8e683e281c11a7311ec68bd9c2474aae18f09bff85f48976ca2f558d9
|
|
| MD5 |
3617e69e3bc6aee75b1bbe20b2125a50
|
|
| BLAKE2b-256 |
e41ffbe2a1be5aff446c734ecad507fd2d045f8c6cb73a2fb4e273bb97e264b7
|
File details
Details for the file cryptozaurus-0.1.2-py3-none-any.whl.
File metadata
- Download URL: cryptozaurus-0.1.2-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a3626d127a3fa2fcf4bce9a2704c5510ce8deda5d8c26b6b5d22b532899e4c4
|
|
| MD5 |
cd391119b1b7e5033a2bbf2f95058332
|
|
| BLAKE2b-256 |
a4369783be1ff43d2586112215d2ccea60d499f5b27abb26260fb10f2609667a
|