Skip to main content

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.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cryptozaurus-0.1.1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file cryptozaurus-0.1.1.tar.gz.

File metadata

  • Download URL: cryptozaurus-0.1.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.12

File hashes

Hashes for cryptozaurus-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2bff50ed9c5aebb371de6b011f8a54e62c36391a99db37c4922756d34561829c
MD5 6d12dd3069067740d15b448f6e66ce32
BLAKE2b-256 c72a838644e2edde0353903abd3fe82d39be81590f8826f85d28842dde9ed53c

See more details on using hashes here.

File details

Details for the file cryptozaurus-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for cryptozaurus-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 314478e0edf07a2fe229cda8837d302aff9f83199a77436e856ca71b3dc70656
MD5 4b49fc3afb61cfb64cf4574e8cbaa33b
BLAKE2b-256 da5fdb6fb45c8698d1b726f97ca7b2fcd0c7f21c1b85df421da7b73e3266bd49

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page