FunctionComponent

Mixed supported functions.

hash

v0.12.4+

To work with hash.

MD5

Calculate hash value with MD5.

Syntax:

string #[Func hash.MD5(string data)]

Arguments:

  • data - String for calculating.

Sample:

#[Func hash.MD5("Hello World!")]

Result: ED076287532E86365E841E92BFC50D8C

SHA1

Calculate hash value with SHA-1.

Syntax:

string #[Func hash.SHA1(string data)]

Arguments:

  • data - String for calculating.

Sample:

#[Func hash.SHA1("Hello World!")]

Result: 2EF7BDE608CE5404E97D5F042F95F89F1C232871