Docs / Encryption & encoding
SHA512 is an AMPscript function in the encryption & encoding category.
SHA512(str, [charset])
%%=SHA512("ampsend")=%%
bb477011c5ebc6ec93c9aa4b6a183971474988aab009074de9356064834e62f93caace79232e67b3cb04f8e5f50d2b3ea0bf7b6c2f46e9459bd504b8f8a2f9b5
Output produced by AmpSend's AMPscript engine (validated against Salesforce's own test corpus) - not a hand-written result.
Try SHA512 in the editor - free, no signupAmpSend runs AMPscript entirely in your browser: instant preview, named test scenarios, shared content blocks and data extensions, and an AI assistant that knows every supported function. Nothing leaves your machine.
SHA512 in the official AMPscript reference - or browse the official index of AMPscript functions for platform behavior and edge cases.