sha1

Function

Computes SHA-1 hash of text, returning a 40-character hex string (legacy, not for security)

Syntax

$hash = sha1 $text

compute SHA-1 hash of variable text

$hash = sha1 "hello world"

compute SHA-1 hash of literal text

Developer Reference
Set: hash
Version: 0.0.0-3
Encoding: T_OP_FN
Sizes: 2-8
Actcode: 351174161
Set ID: 129