From b36baa77bbdad4413e3e427675be0b45a9aeef75 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Thu, 28 May 2020 09:59:23 +0200 Subject: [PATCH] [String] use base58 by default in ByteString::fromRandom() --- src/Symfony/Component/String/ByteString.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/String/ByteString.php b/src/Symfony/Component/String/ByteString.php index 65f12a950f..3a40daabdd 100644 --- a/src/Symfony/Component/String/ByteString.php +++ b/src/Symfony/Component/String/ByteString.php @@ -25,7 +25,7 @@ use Symfony\Component\String\Exception\RuntimeException; */ class ByteString extends AbstractString { - private const ALPHABET_ALPHANUMERIC = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; + private const ALPHABET_ALPHANUMERIC = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'; public function __construct(string $string = '') {