Base58
- Full name:
\StephenHill\Base58
See Also:
- https://github.com/stephen-hill/base58php -
Properties
service
Methods
__construct
Constructor
Parameters:
Parameter | Type | Description |
---|---|---|
$alphabet |
string | optional |
$service |
\StephenHill\ServiceInterface | optional |
encode
Encode a string into base58.
Parameters:
Parameter | Type | Description |
---|---|---|
$string |
string | The string you wish to encode. |
Return Value:
The Base58 encoded string.
decode
Decode base58 into a PHP string.
Parameters:
Parameter | Type | Description |
---|---|---|
$base58 |
string | The base58 encoded string. |
Return Value:
Returns the decoded string.
Automatically generated on 2025-03-18