Home Search

DriveWorks Solo 21
HashSHA1

Send Feedback

HashSHA1

Computes the SHA1 hash of the specified value and returns it in hexadecimal.

Syntax

HashSHA1( [Value] )

Where:

Value is the value to compute the SHA1 hash from.

Examples

Rule

Meaning
HashSHA1("My text to hash")Returns a hexadecimal value from the SHA1 hash of the text My text to hash.
HashSHA1(123456)Returns a hexadecimal value from the SHA1 hash of the number 123456 after first converting it to text.
HashSHA1(DWCurrentUserPassword)Returns a hexadecimal value from the SHA1 hash of the special variable DWCurrentUserPassword.