README
This commit is contained in:
parent
3eed0cd820
commit
95e908c62b
49
README.md
Normal file
49
README.md
Normal file
@ -0,0 +1,49 @@
|
||||
# API Key Generator
|
||||
|
||||
A simple Python script to generate secure API keys. The script allows you to generate multiple API keys at once and save them to either a text or JSON file.
|
||||
|
||||
## Features
|
||||
|
||||
- Generate cryptographically secure API keys
|
||||
- Save keys to TXT or JSON format
|
||||
- Interactive command-line interface
|
||||
- Configurable key length (default: 32 characters)
|
||||
|
||||
## Requirements
|
||||
|
||||
```bash
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
1. Clone this repository or download the `main.py` file
|
||||
2. Run the script:
|
||||
```bash
|
||||
python main.py
|
||||
```
|
||||
3. Follow the prompts:
|
||||
- Enter the number of API keys you want to generate
|
||||
- Choose whether to save the keys to a file
|
||||
- Select the file format (txt/json)
|
||||
- Choose whether to generate more keys
|
||||
|
||||
## Output Formats
|
||||
|
||||
### Text File (api_keys.txt)
|
||||
```
|
||||
KEY1
|
||||
KEY2
|
||||
KEY3
|
||||
```
|
||||
|
||||
### JSON File (api_keys.json)
|
||||
```json
|
||||
{
|
||||
"api_keys": [
|
||||
"KEY1",
|
||||
"KEY2",
|
||||
"KEY3"
|
||||
]
|
||||
}
|
||||
```
|
||||
Loading…
x
Reference in New Issue
Block a user