PHP code example of tishotm / crockford-base32

1. Go to this page and download the library: Download tishotm/crockford-base32 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/ */

    

tishotm / crockford-base32 example snippets



use TishoTM\Crockford\Base32 as Crockford;

// "14S-C0P-JV"
$encoded = Crockford::encode("1234567890", true, 3);

// 1234567890
$decoded = Crockford::decode("14S-C0P-JV", true);