kduma/passphrase-generator

Diceware pass phrase generator

2.0 2022-10-19 16:22 UTC

This package is auto-updated.

Last update: 2024-10-29 18:51:50 UTC


README

Latest Version on Packagist Software License Total Downloads

Diceware pass phrase generator

Install

Via Composer

$ composer require kduma/passphrase-generator

Usage

Passphrase::get();
// returns: Molecule-Unclamped-think-alphabet

Passphrase::setSeparators("!@#")
    ->setEntropy(30)
    ->useEnglishWordList()
    ->dontUseModifiers()
    ->get();
// returns: Chrome#Quite@Tribe

Credits

License

The MIT License (MIT). Please see License File for more information.