SHA1()

From Lianjapedia
Revision as of 04:53, 4 September 2013 by Yvonne.milne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Function to return the SHA-1 cryptographic hash value for a character string

Syntax

SHA1(<expC>)

See Also

MD5(), MD5FILE(), SHA1FILE()

Description

The SHA1() function is used to return the SHA-1 cryptographic hash value for the character string, <expC>. The value returned is a 40 character string representing the 20 byte binary result of the SHA-1 message digest for <expC>.

Example

? sha1("The quick brown fox jumps over the lazy dog")
2FD4E1C67A2D28FCED849EE1BB76E7391B93EB12