Random Security Key Generator
Generates random security keys for use in configuration files or as secure tokens.
by OctaHexa · github.com/wpspeedexpert/random-security-key-generator · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/wpspeedexpert/random-security-key-generator/archive/refs/heads/main.zipDeclares an update source (https://github.com/WPSpeedExpert/random-security-key-generator), so updates arrive through the plugin's own updater.
Readme
Random Security Key Generator
Easily generate secure, random alphanumeric keys using a simple shortcode. Great for API tokens, passwords, WP config keys, and more.
🔹 Features
- Cryptographically secure keys using PHP
random_int() - Shortcode:
[random_security_key] - Customizable key length:
[random_security_key length=48] - Light/dark code block styling
- Built‑in Copy button
- No database writes; lightweight and stateless
🚀 Installation
- Upload the
random-security-key-generatorfolder to/wp-content/plugins/. - Activate the plugin via the Plugins screen.
- Insert the shortcode anywhere:
[random_security_key] - Specify a custom length:
[random_security_key length=64]
❓ Frequently Asked Questions
What characters are used?
Only uppercase letters, lowercase letters, and digits (A–Z, a–z, 0–9).
How secure are the keys?
Generated with PHP's random_int(), providing cryptographic randomness.
Are generated keys stored?
No—keys are generated on‑the‑fly and never stored.
📸 Screenshots
- Example of the [random_security_key] shortcode output with Copy button.
📝 Changelog
1.0.4
- Code block layout improved and copy button no longer overlaps.
1.0.2
- Reorganized asset folders; added file headers
- Updated license to GPLv3+
- Documentation tweaks
1.0.1
- Added light/dark theme CSS
- Implemented Copy button
- Included uninstall.php
1.0.0
- Initial release
⬆️ Upgrade Notice
1.0.2
Small improvements; no functional changes.
1.0.0
Initial release.
⚖️ License
This project is licensed under the GPLv3+.
🧠 About
Created by OctaHexa GitHub: https://github.com/WPSpeedExpert/random-security-key-generator