igniphp / base58
Installs: 2 090
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: ^7.1.0
- ext-bcmath: *
Requires (Dev)
- phpunit/phpunit: ~5.7
This package is not auto-updated.
Last update: 2024-12-15 08:20:49 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.