Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: ../general-devel/lib/support/transform/hash/transformhash.class.php
phpGeneral - support

TransformHash

Transform
   |
  +-- TransformHash

Provides implementations for hash functions

 

public class TransformHash extends Transform

Provides implementations for hash functions
Contains various functions to transform strings into one-way hashes byperfoming well known algorithms on these strings.

AuthorsNorbert Sendetzky <norbert@linuxnetworks.de>

 

Methods inherited from Transform

transform

Public Method Summary

object TransformHash

TransformHash(array $param, string &$errmsg)

Class constructor
string

unix(string $data, string &$errmsg)

Unix crypt function

Included files inherited from Transform

../lib/include/locale.class.php

Included files Summary, Type: include_once

../lib/support/transform/transform.class.php Warning: documentation is missing.

Public Method Details

TransformHash

public object TransformHash TransformHash( array $param, string &$errmsg )

  Class constructor
Initializes member variables and sets up the base class

Parameter
array $param
Associative array contains userid, password and realm
string &$errmsg
Reference for storing error messages in case of a failure
Returns object TransformHash


unix

public string unix( string $data, string &$errmsg )

  Unix crypt function
Creates an unix cyrpt hash for the given string

Parameter
string $data
Input string for the crypt function
string &$errmsg
Reference for storing error messages in case of a failure
Returns string

Computed hash


Included Files, Type: include_once

../lib/support/transform/transform.class.php

include_once( ../lib/support/transform/transform.class.php )




Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta