Decryptor for JS's Crypto encrypted timestamps tokens
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.0.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.0.tar.gz.
File metadata
- Download URL: cryptozaurus-0.1.0.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 |
3e75ad26375a9712ba32835f95ced8bfc72bbf34a8939b9a4bea4fb0db2df7bd
|
|
| MD5 |
97c3c664a95be1933dfa78e4a811541a
|
|
| BLAKE2b-256 |
1bb7b9f15cd7c9e576dc6bde5f2e952b3669a4aa407634a147754a23a12a53ec
|
File details
Details for the file cryptozaurus-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cryptozaurus-0.1.0-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 |
34856e449fabd87dde75848746bcb24c7bb7d0eb489c0ed5ebe6f215f243a28b
|
|
| MD5 |
72d123fe6c3abad259a304cc658e4187
|
|
| BLAKE2b-256 |
19f95e072a29b615b56c0f11db36281ed35dcf4326e399251d4452c546ef64d7
|