Available since Version 1.0.
Takes a string and returns its SHA256 hash as a hexadecimal string.
Syntax
Cryptography.SHA256( input )Arguments
- input (string): The string to hash.
Return Values
(string): The SHA256 hash of the input string as a hexadecimal string.
Examples
local hash = Cryptography.SHA256("Hello, world!")
print(hash) -- Outputs: 315f5bdb76d078c43b8ac0064e4a0164612b1fce77c869345bfc94c75894edd3