Randomly generated keys and passwords.
Branch: v1
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
CHANGELOG.md
LICENSE.md
README.md
composer.json

README.md

icon

Random Key Generator plugin for Craft CMS 3.x

Randomly generated keys and passwords.

Requirements

This plugin requires Craft CMS 3.0.0 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require lukeyouell/craft-randomkeygenerator
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Random Key Generator.

Random Key Generator Overview

Random key generation is available in the form of a field type or Twig function.

Available Key Strengths

Value Description Example Response
memorable Memorable Password 00bFERyXW9
strong Strong Password g@*{>HEI&arcyv7
fortknox Fort Knox Password cS'EIj]Q;U'D%C7YVy{sW=Q48=jwRJ
160wpa 160-bit WPA Key zE$2LlT*y$4*v*V+HHKM
504wpa 504-bit WPA Key ;ffC;xMZ_hV6-M/<}&U%zxAcV%9[{E[~6zYn({(F<;/R;zjEnK5FT5]^lGC31;"
64wep 64-bit WEP Key 265C5
128wep 128-bit WEP Key 18C2F17238786
152wep 152-bit WEP Key BD745E2A9183C974
256wep 256-bit WEP Key B5DB683C4C1162EEF5DB6E9ACB1D3

Example Usage

Request

{{ randomkeygen('128wep') }} 

Output

18C2F17238786

Random Key Generator Roadmap

Some things to do, and ideas for potential features:

  • Field value refresh

Brought to you by Luke Youell