Skip to main content

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.4.tar.gz (4.6 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.4-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cryptozaurus-0.1.4.tar.gz
Algorithm Hash digest
SHA256 6bd65ddcc68b8361667bd1ae89edb96ebee247e8b187f02974e6a315ce21dfae
MD5 40df8294fc61ca67ec730239a76e5c76
BLAKE2b-256 f1a5c11799c9f080470375f3942c08ff40636315a972e552c5892a4d1f2a070b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptozaurus-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9f6d722e5cd1ea0b7663d8d8c0f25c4817c911cb7b871a672f4ecdd0472e2ff2
MD5 32fbb351fa28597972ce961df28400b1
BLAKE2b-256 30a571ff810dc837bc91701df5895f5487cf670a5110193e44970ab7abbbf4e0

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