__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* Joomla! Content Management System
*
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\CMS\Encrypt;
// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects
/**
* Generates cryptographically-secure random values.
*
* @since 4.0.0
*/
class Randval implements RandValInterface
{
/**
* Returns a cryptographically secure random value.
*
* This method allows us to quickly address any future issues if we ever find problems with PHP's random_bytes() on
* some weird host (you can't be too careful when releasing mass-distributed software).
*
* @param integer $bytes How many bytes to return
*
* @return string
*/
public function generate($bytes = 32)
{
return random_bytes($bytes);
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| AES | Folder | 0775 |
|
|
| Aes.php | File | 8.62 KB | 0664 |
|
| Base32.php | File | 5.29 KB | 0664 |
|
| RandValInterface.php | File | 584 B | 0664 |
|
| Randval.php | File | 953 B | 0664 |
|
| Totp.php | File | 5.92 KB | 0664 |
|