Package | mx.data.crypto |
Class | public class SHA256 |
Inheritance | SHA256 Object |
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3.1 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Learn more
Public Properties
Property | Defined By | ||
---|---|---|---|
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
digest : ByteArray [static]
The SHA-256 digest. | SHA256 |
Public Methods
Method | Defined By | ||
---|---|---|---|
[static]
Performs the SHA256 hash algorithm on a string. | SHA256 | ||
[static]
Performs the SHA256 hash algorithm on a ByteArray. | SHA256 | ||
[static]
Performs the SHA256 hash algorithm on a string, then does
Base64 encoding on the result. | SHA256 | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Property Detail
digest | property |
public static var digest:ByteArray
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3.1 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The SHA-256 digest.
Method Detail
hash | () | method |
public static function hash(s:String):String
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3.1 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Performs the SHA256 hash algorithm on a string.
Parameters
s:String — The string to hash
|
String — A string containing the hash value of s
|
hashBytes | () | method |
public static function hashBytes(data:ByteArray):String
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3.1 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Performs the SHA256 hash algorithm on a ByteArray.
Parameters
data:ByteArray — The ByteArray data to hash
|
String — A string containing the hash value of data
|
hashToBase64 | () | method |
public static function hashToBase64(s:String):String
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3.1 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Performs the SHA256 hash algorithm on a string, then does Base64 encoding on the result.
Parameters
s:String — The string to hash
|
String — The base64 encoded hash value of s
|
Thu Dec 6 2018, 01:12 PM -08:00