ActionScript 3 Cryptography Library | All Packages | All Classes | Index | Frames No Frames |
SHABase

Package | com.hurlant.crypto.hash
Class | public class SHABase
Inheritance | SHABase Object
Implements | IHash
Subclasses | SHA1, SHA256

Public Properties

| Property | Defined By
--- | --- | ---
|  | pad_size : int = 40 | SHABase

Public Methods

| Method | Defined By
--- | --- | ---
|  | getHashSize():uint | SHABase
|  | getInputSize():uint | SHABase
|  | getPadSize():int | SHABase
|  | hash(src:ByteArray):ByteArray | SHABase
|  | toString():String | SHABase

Protected Methods

| Method | Defined By
--- | --- | ---
|  | core(x:Array, len:uint):Array | SHABase

Property Detail

pad_size | property

`public var pad_size:int = 40`

Method Detail

core | () | method

`protected function core(x:Array, len:uint):Array`

Parameters

| `x:Array`
| `len:uint`

Returns

| `Array`

getHashSize | () | method |

`public function getHashSize():uint`

Returns

| `uint`

getInputSize | () | method |

`public function getInputSize():uint`

Returns

| `uint`

getPadSize | () | method |

`public function getPadSize():int`

Returns

| `int`

hash | () | method |

`public function hash(src:ByteArray):ByteArray`

Parameters

| `src:ByteArray`

Returns

| `ByteArray`

toString | () | method |

`public function toString():String`

Returns

| `String`

Mon May 20 2013, 09:16 PM +02:00