OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
firebase
/
vendor
/
ramsey
/
uuid
/
src
/
Generator
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/12/2024 10:34:36 AM
rwxr-xr-x
📄
CombGenerator.php
3.23 KB
08/12/2024 10:34:35 AM
rw-r--r--
📄
DceSecurityGenerator.php
4.48 KB
08/12/2024 10:34:35 AM
rw-r--r--
📄
DceSecurityGeneratorInterface.php
1.76 KB
08/12/2024 10:34:35 AM
rw-r--r--
📄
DefaultNameGenerator.php
1.28 KB
08/12/2024 10:34:35 AM
rw-r--r--
📄
DefaultTimeGenerator.php
3.93 KB
08/12/2024 10:34:35 AM
rw-r--r--
📄
NameGeneratorFactory.php
728 bytes
08/12/2024 10:34:35 AM
rw-r--r--
📄
NameGeneratorInterface.php
1.08 KB
08/12/2024 10:34:35 AM
rw-r--r--
📄
PeclUuidNameGenerator.php
1.37 KB
08/12/2024 10:34:35 AM
rw-r--r--
📄
PeclUuidRandomGenerator.php
842 bytes
08/12/2024 10:34:35 AM
rw-r--r--
📄
PeclUuidTimeGenerator.php
912 bytes
08/12/2024 10:34:35 AM
rw-r--r--
📄
RandomBytesGenerator.php
1.16 KB
08/12/2024 10:34:35 AM
rw-r--r--
📄
RandomGeneratorFactory.php
738 bytes
08/12/2024 10:34:35 AM
rw-r--r--
📄
RandomGeneratorInterface.php
765 bytes
08/12/2024 10:34:35 AM
rw-r--r--
📄
RandomLibAdapter.php
1.58 KB
08/12/2024 10:34:35 AM
rw-r--r--
📄
TimeGeneratorFactory.php
1.18 KB
08/12/2024 10:34:35 AM
rw-r--r--
📄
TimeGeneratorInterface.php
1.17 KB
08/12/2024 10:34:35 AM
rw-r--r--
📄
UnixTimeGenerator.php
6 KB
08/12/2024 10:34:35 AM
rw-r--r--
Editing: NameGeneratorInterface.php
Close
<?php /** * This file is part of the ramsey/uuid library * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @copyright Copyright (c) Ben Ramsey <ben@benramsey.com> * @license http://opensource.org/licenses/MIT MIT */ declare(strict_types=1); namespace Ramsey\Uuid\Generator; use Ramsey\Uuid\UuidInterface; /** * A name generator generates strings of binary data created by hashing together * a namespace with a name, according to a hashing algorithm */ interface NameGeneratorInterface { /** * Generate a binary string from a namespace and name hashed together with * the specified hashing algorithm * * @param UuidInterface $ns The namespace * @param string $name The name to use for creating a UUID * @param string $hashAlgorithm The hashing algorithm to use * * @return string A binary string * * @psalm-pure */ public function generate(UuidInterface $ns, string $name, string $hashAlgorithm): string; }