PHP code example of phptek / verifiable
1. Go to this page and download the library: Download phptek/verifiable 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/ */
phptek / verifiable example snippets
class MyDataObject extends DataObject
{
/**
* Take the contents of a file for a very basic form of digital notarisation.
*
* @param string $filename
* @return string
*/
public function verify(string $filename) : string
{
return file_get_contents($filename);
}
}
#> diff CHECKSUM <( ./tools/checksum.sh true )