Packagemx.utils
Classpublic class SHA256
InheritanceSHA256 Inheritance 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
 MethodDefined By
  
computeDigest(byteArray:ByteArray):String
[static] Computes the digest of a message using the SHA-256 hash algorithm.
SHA256
Public Constants
 ConstantDefined 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_IDConstant
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".