almadus/crypto-rand-secure

The Crypto rand sercure string

Maintainers

Package info

github.com/almadus/cypto-rand-secure

pkg:composer/almadus/crypto-rand-secure

Statistics

Installs: 13

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0 2021-01-02 21:58 UTC

This package is auto-updated.

Last update: 2026-03-29 00:51:55 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());