Class Index | File Index

Classes


Class M.SHA256


Extends M.Object.
This prototype defines a hashing mechanism based on the SHA256 algorithm. You normally don't call this object respectively its methods directly, but let M.Cypher handle this.
Defined in: sha256.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
Defines the bits per input character: 8 - ASCII, 16 - Unicode
 
Defines the hex output format: 0 - lowercase, 1 - uppercase
 
The type of this object.
Method Summary
Method Attributes Method Name and Description
 
hash(input)
This method is called from the 'outside world', controls the hashing and finally returns the hash value.
Methods borrowed from class M.Object:
bindToCaller, create, destroy, extend, get, include, set
Class Detail
M.SHA256()
Field Detail
{Number} chrsz
Defines the bits per input character: 8 - ASCII, 16 - Unicode

{Number} hexcase
Defines the hex output format: 0 - lowercase, 1 - uppercase

{String} type
The type of this object.
Method Detail
{String} hash(input)
This method is called from the 'outside world', controls the hashing and finally returns the hash value.
Parameters:
{String} input
The input string to be hashed.
Returns:
{String} The sha256 hashed string.

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Jan 25 2012 20:41:10 GMT+0100 (MEZ)