igniphp / base58
1.0.0
2018-05-11 21:14 UTC
Requires
- php: ^7.1.0
- ext-bcmath: *
Requires (Dev)
- phpunit/phpunit: ~5.7
This package is not auto-updated.
Last update: 2026-03-08 14:01:29 UTC
README
About
PHP Base58 implementation used to represent large integers as alphanumeric text.
Installation
composer require igniphp/base58
Usage Igni\Crypto\Base58
encode(string|int $string): string
Encodes passed integer|string into base58 representation.
decode(string $string): string
Decodes base58 representation of big integer into string.