[php-src] Issue #15195: Add base58_encode/decode functions
| From: | nicolas-grekas | Date: | Thu, 01 Aug 2024 12:18:12 +0000 |
| Subject: | [php-src] Issue #15195: Add base58_encode/decode functions | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-247418@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/15195
Author: nicolas-grekas
### Description
The base58-encoding has to be implemented in PHP, which is slow compared to native code doing the
same thing.
Base58 encoding produces strings that have desirable characteristics compare to base64:
- URL friendly (no
/+ or -_ to deal with)
- less confusable characters (no 0Ilo)
- output of similar size (~73% vs 75%=