Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Returns hash of given content

string $Crypto.Hash(content: string, hashName: Digest)

Arguments

string content
Content to be hashed
Digest hashName
Name of hash algorithm to be used. If not specified SHA1 is used.

Returns

Hash of given content in base64 encoding

Types

Digest

Types of digest algorithms ( "SHA1" | "SHA256" | "SHA384" | "SHA512" )