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

Uploaded Source

Built Distribution

arcane_secret-0.2.0-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file arcane-secret-0.2.0.tar.gz.

File metadata

  • Download URL: arcane-secret-0.2.0.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.0a1 CPython/3.7.7 Linux/5.3.0-1028-azure

File hashes

Hashes for arcane-secret-0.2.0.tar.gz
Algorithm Hash digest
SHA256 060b456ce6998ea469a51448bbbf7e3fd5a44d100524956a564b449c632c22b2
MD5 f3e1ff95c5ef89c7e7c0c96b60ee769f
BLAKE2b-256 2a399ab59638be30c1d64ec9f574384b78fdf67462522994a2c1743777a7a8c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: arcane_secret-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.0a1 CPython/3.7.7 Linux/5.3.0-1028-azure

File hashes

Hashes for arcane_secret-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 48b59428e603dae0458cc7e8dcd8db72abbbd1bc33a582f2225f178c373faac7
MD5 0d66594046834ac6bb67b3ed537b1bc1
BLAKE2b-256 cd23c71b10fdecdc70be05994ebb2dcd065f212147a340d9e30282f099b4654b

See more details on using hashes here.

Supported by

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