Skip to main content

A package to encode or decode tokens

Project description

Arcane secret

This package allows to encode and decode secrets.

Get Started

pip install arcane-secret

Example Usage

from arcane.secret import decode

decoded_secret = decode('secret', 'path_to_secret_key_file')

or

from arcane.secret import encode

# Import your configs
from configure import Config

encoded_secret = encode(secret, Config.SECRET_KEY_FILE)

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

arcane_secret-0.3.1.tar.gz (1.4 kB view details)

Uploaded Source

Built Distribution

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

arcane_secret-0.3.1-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

Details for the file arcane_secret-0.3.1.tar.gz.

File metadata

  • Download URL: arcane_secret-0.3.1.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.12 Linux/6.11.0-1018-azure

File hashes

Hashes for arcane_secret-0.3.1.tar.gz
Algorithm Hash digest
SHA256 eec508fe319febd0941bce75b8494b8a6f68c071530e848760e40cc98fce395c
MD5 b90bf17431e0bd46fd1fce76f01c9024
BLAKE2b-256 5c20c03b94814cb8a27442382a9aa5247dd54c9accb490140c9bdba82a555d7d

See more details on using hashes here.

File details

Details for the file arcane_secret-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: arcane_secret-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 1.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.12 Linux/6.11.0-1018-azure

File hashes

Hashes for arcane_secret-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 067f9861106e9d6112a89ac88191ffddc411e4d52ce164f4fc83a4ea2b7cd816
MD5 789547c5d4807b75fb04791ca2785bfa
BLAKE2b-256 f5595f4988c5f88f9b401deddecc153077d798aecdc7b566c66ebf8448ca079d

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