Submit base58 extention to pecl
| From: | Arnold Daniels | Date: | Tue, 15 May 2018 19:26:19 +0000 |
| Subject: | Submit base58 extention to pecl | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-15324@lists.php.net to get a copy of this message | ||
Hi,
I'd like to request the submission of a package to PECL.
We've created a PHP extension for base58 encoding and decoding using the
Bitcoin alphabet. It's a simple binding to the bitcoin/libbase58 c library.
The source code can be found here:
https://github.com/legalthings/base58-php-ext
*Why not userspace functions?*
There are some implementations in userspace (
https://github.com/stephen-hill/base58php).
These rely on bcmath or gmp and
are much to slow to handle more than a few bytes. This base58 extension
performs as well as comparable functions like
base64_encode.
Benchmark tests can be found here: https://pastebin.com/8iWyZJX6
Yours,
Arnold Daniels
LegalThings