Skip to main content

Generate a 32-byte random key using random.org and encode it in base64

Project description

random-32-key-base64

Generate a 32-byte random key using random.org and encode it in base64.

Installation

You can run this tool directly using uvx without installation:

uvx random-32-key-base64

Or install it with uv:

uv tool install random-32-key-base64

Or with pip:

pip install random-32-key-base64

Usage

Simply run the command:

random-32-key-base64

This will generate 32 random bytes from random.org, encode them in base64, and print the result.

Example Output

dGhpcyBpcyBhbiByYW5kb20gYmFzZTY0IGVuY29kZWQgc3RyaW5n

Requirements

  • Python 3.12 or higher
  • Internet connection (to access random.org)

How it works

The tool uses the random.org API to generate cryptographically secure random bytes, then encodes them using base64 encoding for easy copying and use in various applications.

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

random_32_key_base64-0.1.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

random_32_key_base64-0.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file random_32_key_base64-0.1.0.tar.gz.

File metadata

File hashes

Hashes for random_32_key_base64-0.1.0.tar.gz
Algorithm Hash digest
SHA256 929444c28499ff5bc03cf08187b9a9fed85977bc41d83bf4a3a6345f62808cfc
MD5 f657acf82a9b544532ee47afcf9748b3
BLAKE2b-256 0b351025370767ae879c9f899d818bce56514ac5f01103c1793f93d6e04952d9

See more details on using hashes here.

File details

Details for the file random_32_key_base64-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for random_32_key_base64-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e1104e2416a3163ba3d7441209f643754a6d76783cff5967d9c00e32cb79cf18
MD5 3b037672e7520dc21224866bf246fc8c
BLAKE2b-256 785f236a9e5f75cbbc9f27594d482732d9e1f06655ad311e4df87c8b3742b048

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