Apache Flex 4.16.1 API Reference | All Packages | All Classes | Index | Frames No Frames |
SHA256

Package | mx.utils
Class | public class SHA256
Inheritance | SHA256 Object

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Implementation of SHA-256 hash algorithm as described in Federal Information Processing Standards Publication 180-2 at http://csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf

Public Methods

| Method | Defined By
--- | --- | ---
|  | computeDigest(byteArray:ByteArray):String [static] Computes the digest of a message using the SHA-256 hash algorithm. | SHA256

Public Constants

| Constant | Defined By
--- | --- | ---
|  | TYPE_ID : String = SHA-256 [static] Identifies this hash is of type "SHA-256". | SHA256

Method Detail

computeDigest | () | method

`public static function computeDigest(byteArray:ByteArray):String`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Computes the digest of a message using the SHA-256 hash algorithm.

Parameters

| `byteArray:ByteArray` — - the message, may not be null. return String - 64 character hexidecimal representation of the digest.

Returns

| `String`

Constant Detail

TYPE_ID | Constant

`public static const TYPE_ID:String = SHA-256`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Identifies this hash is of type "SHA-256".

Wed Nov 15 2017, 09:50 AM +01:00