Zoomed Image

AMSX Scripting Language - Command : sha256

Summary

Compute a SHA-256 hash of a string and return it as a Base64-URL-encoded value

Description

Hashes the input string using SHA-256 and encodes the raw bytes as a Base64 URL-safe string (no padding). Commonly used for OAuth PKCE code-challenge generation or other cryptographic verification workflows.

Parameters

ParameterDescription
cmdthe string to hash

Syntax


Sha256 "the string to hash"

Return to the AMSX Command Reference