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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file random_32_key_base64-0.1.0.tar.gz.
File metadata
- Download URL: random_32_key_base64-0.1.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
929444c28499ff5bc03cf08187b9a9fed85977bc41d83bf4a3a6345f62808cfc
|
|
| MD5 |
f657acf82a9b544532ee47afcf9748b3
|
|
| BLAKE2b-256 |
0b351025370767ae879c9f899d818bce56514ac5f01103c1793f93d6e04952d9
|
File details
Details for the file random_32_key_base64-0.1.0-py3-none-any.whl.
File metadata
- Download URL: random_32_key_base64-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1104e2416a3163ba3d7441209f643754a6d76783cff5967d9c00e32cb79cf18
|
|
| MD5 |
3b037672e7520dc21224866bf246fc8c
|
|
| BLAKE2b-256 |
785f236a9e5f75cbbc9f27594d482732d9e1f06655ad311e4df87c8b3742b048
|