cast / cubehash
CueHash pure PHP based on https://github.com/RndPhrase/cubehash.js/blob/master/cubehash.js
0.4
2020-05-20 09:47 UTC
Requires
- php: ^7.3
Requires (Dev)
- phpunit/phpunit: ^7
This package is auto-updated.
Last update: 2024-11-20 20:22:53 UTC
README
Pure PHP-implementation without any extensions
Install:
composer require cast/cubehash
Usage:
<?php use function Cast\Crypto\CubeHash\cubehash256; cubehash256(8, 1, 'Hello'); // 8/1-256 // 692638db57760867326f851bd2376533f37b640bd47a0ddc607a9456b692f70f
Based on https://github.com/RndPhrase/cubehash.js/blob/master/cubehash.js.
Links: