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.2.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.2-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

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

Hashes for cryptozaurus-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b73181a8e683e281c11a7311ec68bd9c2474aae18f09bff85f48976ca2f558d9
MD5 3617e69e3bc6aee75b1bbe20b2125a50
BLAKE2b-256 e41ffbe2a1be5aff446c734ecad507fd2d045f8c6cb73a2fb4e273bb97e264b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptozaurus-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2a3626d127a3fa2fcf4bce9a2704c5510ce8deda5d8c26b6b5d22b532899e4c4
MD5 cd391119b1b7e5033a2bbf2f95058332
BLAKE2b-256 a4369783be1ff43d2586112215d2ccea60d499f5b27abb26260fb10f2609667a

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