PHP Classes

File: tools/checksum.php

Recommend this page to a friend!
  Classes of Scott Arciszewski   CMS Airship   tools/checksum.php   Download  
File: tools/checksum.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: CMS Airship
Content management system with security features
Author: By
Last change: Boyscouting the tools directory.
Date: 7 years ago
Size: 233 bytes
 

Contents

Class file image Download
<?php
declare(strict_types=1);

require_once \
dirname(__DIR__).'/vendor/autoload.php';

/**
 * Generate a BLAKE2b-512 checksum of a given file.
 */

if (isset($argv[1])) {
    echo \
ParagonIE\Halite\File::checksum($argv[1]), "\n";
}