Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2004-12-19 10:07
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' );


?>