Skip to content

function sha256 (shared-side)

Available since version: 0.3.0

Calculate the SHA-256 hash of a string and return it as hex.

Declaration

string sha256(string input)

Parameters

  • string input: Input text to hash.

Returns string

Hexadecimal hash string.