[String] use base58 by default in ByteString::fromRandom()
This commit is contained in:
parent
2b725e5c98
commit
b36baa77bb
@ -25,7 +25,7 @@ use Symfony\Component\String\Exception\RuntimeException;
|
|||||||
*/
|
*/
|
||||||
class ByteString extends AbstractString
|
class ByteString extends AbstractString
|
||||||
{
|
{
|
||||||
private const ALPHABET_ALPHANUMERIC = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
|
private const ALPHABET_ALPHANUMERIC = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz';
|
||||||
|
|
||||||
public function __construct(string $string = '')
|
public function __construct(string $string = '')
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user