Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.utils 
SHA256 
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 Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined By
  
[static] Computes the digest of a message using the SHA-256 hash algorithm.
SHA256
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
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_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".