SHA256 class

The Server-Side ActionScript SHA256 class is a symmetric port of the Flex® SDK mx.util.SHA256 utility class. Use this class to generate a digest, or signature, for binary data. A receiver of the data can compute its own digest and compare that to the original digest value to ensure that the binary data has not been tampered with.

Method

Description

Uses the SHA-256 hash algorithm to compute the digest of a message.

SHA256.computeDigest()

 SHA256.computeDigest(bytes)

Uses the SHA-256 hash algorithm to compute the digest of a message.

The function throws a JavaScript Error if the bytes argument is null or not a ByteArray.

Availability

Flash Media Server 4

Parameters

bytes

A ByteArray containing the message.

Returns

A String that is a 64 character hexadecimal representation of the digest.

 Adobe

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online