PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Piotr Biernat   kv_hash   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example file
Class: kv_hash
Generate an hash from text or file
Author: By
Last change:
Date: 20 years ago
Size: 208 bytes
 

Contents

Class file image Download
<?php

require_once './kv_hash.php';

$foo = new kv_hash;

# hash string

echo $foo->hash_string( 'Hello world, this is a secret message!' );

#hasz file

$foo->hash_file( 'example.txt' );


?>