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.3.tar.gz
(4.6 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.3.tar.gz.
File metadata
- Download URL: cryptozaurus-0.1.3.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d69bd53f3a741fd10814ea27d3fcf409f9d43c9846fbc28ccf68519f8a0fc85
|
|
| MD5 |
327f4e872ea611f86ec88971f9fe4d41
|
|
| BLAKE2b-256 |
a14ee88b480d47bfe5cd84f639dd7644bb601f23fccfd44c01a23d60ecca2008
|
File details
Details for the file cryptozaurus-0.1.3-py3-none-any.whl.
File metadata
- Download URL: cryptozaurus-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45caf40dcac65331f4e33958dced4dfb0c420ba5981817f7069cc5f0dd3e8378
|
|
| MD5 |
a75cc2abd3a125723a350755061719f6
|
|
| BLAKE2b-256 |
a2109819205304438182ee37cf0ac5bdef55bfe4a8f8d97575034cceb005e7af
|