From e893aabc0b298a462819811fb03243309ce113ee Mon Sep 17 00:00:00 2001 From: Thomas Alrek Date: Tue, 26 Mar 2019 19:55:47 +0100 Subject: [PATCH] Change uniqueID length --- src/Vipps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Vipps.php b/src/Vipps.php index 1398562..373e6ac 100644 --- a/src/Vipps.php +++ b/src/Vipps.php @@ -52,7 +52,7 @@ public static function getClient($endpoint = '/'): Client public static function getUniqueID(): string { $cstrong = true; - return bin2hex(openssl_random_pseudo_bytes(15, $cstrong)); + return bin2hex(openssl_random_pseudo_bytes(8, $cstrong)); } /**