diff options
author | Mario <mario@mariovavti.com> | 2024-01-03 11:07:03 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-01-03 11:07:03 +0000 |
commit | afe8552be66a05b379ddc7b5f78e40f8a76540b8 (patch) | |
tree | d53037364fa680de21153fb1d3fcfcb3211d0d58 /vendor/stephenhill/base58/src/ServiceInterface.php | |
parent | cd0e50da249ba89252a6182b0ac239e003563f61 (diff) | |
download | volse-hubzilla-afe8552be66a05b379ddc7b5f78e40f8a76540b8.tar.gz volse-hubzilla-afe8552be66a05b379ddc7b5f78e40f8a76540b8.tar.bz2 volse-hubzilla-afe8552be66a05b379ddc7b5f78e40f8a76540b8.zip |
comÃposer add tephenhill/base58
Diffstat (limited to 'vendor/stephenhill/base58/src/ServiceInterface.php')
-rw-r--r-- | vendor/stephenhill/base58/src/ServiceInterface.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/vendor/stephenhill/base58/src/ServiceInterface.php b/vendor/stephenhill/base58/src/ServiceInterface.php new file mode 100644 index 000000000..0fe374524 --- /dev/null +++ b/vendor/stephenhill/base58/src/ServiceInterface.php @@ -0,0 +1,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); +} |