PHP Classes
Icontem

File: _interfaces/IHashAlgorithm.intf.php


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Marius Zadara  >  Message Digest  >  _interfaces/IHashAlgorithm.intf.php  
File: _interfaces/IHashAlgorithm.intf.php
Role: Class source
Content type: text/plain
Description: Hash algorithm interface
Class: Message Digest
Generate message digests with hashing algorithms
 

Contents

Class file image Download
<?php


/**
 * Hash algoritm interface definition. 
 * This interface will set the functions that a hash algorithm must implement.
 *  
 * @author Marius Zadara <marius@zadara.org>
 * @category org.zadara.marius.messagedigester.interfaces 
 * @copyright (C) 2008, Marius Zadara <marius@zadara.org>
 * @license GNU GPL
 * @package org.zadara.marius.messagedigester
 * @access public
 */
interface IHashAlgorithm 
{
    
/**
     * Hash function.
     * With the help of this function, the algorithm will 
     * calculate the hash of a string
     *
     * @param string $string The string to hash by the algorithm
     * @param boolean $raw_output Raw output? 
     * @access public
     * @static 
     */
    
public static function hash($string$raw_output false);    
}


?>

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products