-
Notifications
You must be signed in to change notification settings - Fork 26
SHA2
Nick Ryzhy edited this page Apr 4, 2016
·
3 revisions
Encodes and decodes binary data using SHA-2 (Secure Hash Algorithm) algorithm.
Name | Value |
---|---|
Package | by.blooddy.crypto |
Name | abstract class SHA2 |
Inheritance |
SHA2 → Process → EventDispatcher → Object
|
Subclasses | SHA224, SHA256 |
Name | Description |
---|---|
hash(str:String):void |
Asynchronously performs hash algorithm on a String . Dispatched String result in ProcessEvent . |
hashBytes(bytes:ByteArray):void |
Asynchronously performs hash algorithm on a ByteArray . Dispatched String result in ProcessEvent . |
digest(bytes:ByteArray):void |
Asynchronously performs hash algorithm on a ByteArray . Dispatched ByteArray result in ProcessEvent . |
Name | Type | Description |
---|---|---|
complete |
ProcessEvent | Dispatched when success. |
error |
ProcessEvent | Dispatched when fault. |