almadus/crypto-rand-secure

The Crypto rand sercure string

1.0 2021-01-02 21:58 UTC

This package is auto-updated.

Last update: 2025-04-29 01:04:15 UTC


README

Install With Composer

composer require almadus/crypto-rand-secure

Code Sample

Create the php file example index.php and paste this code

require __DIR__.'/vendor/autoload.php';
$config = [
"uppercase" => true,
"lowercase" => true,
"numeric" => true,
"length" => 10
];

$crypto = new Almadus\CryptoRandSecure($config);
var_dump($crypto->getToken());