PHP code example of cast / cubehash

1. Go to this page and download the library: Download cast/cubehash library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

cast / cubehash example snippets


composer 



use function Cast\Crypto\CubeHash\cubehash256;

cubehash256(8, 1, 'Hello'); // 8/1-256
// 692638db57760867326f851bd2376533f37b640bd47a0ddc607a9456b692f70f