igniphp/base58

1.0.0 2018-05-11 21:14 UTC

This package is not auto-updated.

Last update: 2024-11-17 07:57:56 UTC


README

Build Status

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.