blob: 0fe3745247c68f7c95a360481e8d0387e88fabcd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?php
namespace StephenHill;
interface ServiceInterface
{
/**
* Encode a string into base58.
*
* @param string $string The string you wish to encode.
* @since v1.1.0
* @return string The Base58 encoded string.
*/
public function encode($string);
/**
* Decode base58 into a PHP string.
*
* @param string $base58 The base58 encoded string.
* @since v1.1.0
* @return string Returns the decoded string.
*/
public function decode($base58);
}
|