Function “sha1Of”

function sha1Of(data)

Computes the SHA-1 sum of the given string.

Parameters

NameTypeDescription
datastringThe data for which to compute the SHA-1 sum

Return Value

Returns the 160-bit hash value encoded as a hex string.