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

Uploaded Python 3

File details

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

File metadata

  • Download URL: arcane_secret-0.3.0.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.0.tar.gz
Algorithm Hash digest
SHA256 6c45a52789af1b6c37d41b77b24cd4eaa14dd2653664e358d24678a4fca95693
MD5 b8cc3615c3928d4b4b8252cd2a23f99b
BLAKE2b-256 8fd4b47a2a6794a5e4a69baa7dffd345817e8bffe4a5e0ff62842050ccaa445f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: arcane_secret-0.3.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c0795250ca4c3aca7811a9f615bacf908f7342bd567adc77d111daff09082c3
MD5 761e129b3516d4b8d120a44a8274012f
BLAKE2b-256 e7a5cfdd3d633f117596332c4b7e7b8e50bac380d53e2ae93d07afd73949b498

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