This commit is contained in:
2024-07-23 01:22:16 +02:00
parent 85d20e034a
commit 1bff7f46d7
9 changed files with 40 additions and 12 deletions
+4
View File
@@ -4,6 +4,10 @@ namespace Khofmann\GUID;
class GUID
{
private function __construct()
{
}
public static function v4($data = null): string
{
// Generate 16 bytes (128 bits) of random data or use the data passed into the function.