Skip to content
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 SHA2ProcessEventDispatcherObject
Subclasses SHA224, SHA256

Methods

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.

Events

Name Type Description
complete ProcessEvent Dispatched when success.
error ProcessEvent Dispatched when fault.

Hashsum

Checksum

Image

Serialization

Clone this wiki locally