\Nano4\UtilsHash

A very simplistic wrapper for the PHP Hash library.

In addition to the normal hash methods, it provides a base64() method which will return a base64 representation of the binary Hash digest.

Usage:

$hash = new Hash('sha256'); $hash->update('Hello'); $hash->update('World'); $str = $hash->final();

Summary

Methods
Properties
Constants
__construct()
__call()
base64()
__toString()
No public properties found
No constants found
No protected methods found
$hash
N/A
No private methods found
No private properties found
N/A

Properties

$hash

$hash : 

Type

Methods

__construct()

__construct(  $algorithm,   $options,   $key = Null) 

Parameters

$algorithm
$options
$key

__call()

__call(  $name,   $arguments) 

Parameters

$name
$arguments

base64()

base64() 

__toString()

__toString()