Server : LiteSpeed System : Linux server321.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : apotdzgr ( 7060) PHP Version : 8.0.30 Disable Function : NONE Directory : /home/apotdzgr/www/wp-content/plugins/mycryptocheckout/src/currencies/groestl/ |
Upload File : |
<?php namespace mycryptocheckout\currencies\groestl; /** @brief Basically base58, but without the checksum. @since 2019-01-17 22:50:50 **/ class GroestlHash extends \BitWasp\Bitcoin\Base58 { /** * Decode a base58 checksum string and validate checksum * * @param string $base58 * @return BufferInterface * @throws Base58ChecksumFailure */ public static function decodeCheck($base58) { $hex = self::decode($base58); $data = $hex->slice(0, -4); return $data; } }