SHA1()

SHA1(String)

Berechnet den SHA1-Hash (Digest, Prüfsumme) eines Strings (hexadezimale Rückgabe).

; den SHA1-Hash von "Hallo Welt" berechnen:
exten => 123,1,Set(sha1hash=${SHA1(Hallo Welt)})
[Anmerkung]

Interner Hilfetext zu dieser Applikation in Asterisk 1.4: 

  -= Info about function 'SHA1' =- 

[Syntax]
SHA1(<data>)

[Synopsis]
Computes a SHA1 digest

[Description]
Generate a SHA1 digest via the SHA1 algorythm.
 Example:  Set(sha1hash=${SHA1(junky)})
 Sets the asterisk variable sha1hash to the string '60fa5675b9303eb62f99
a9cd47f9f5837d18f9a0'
 which is known as his hash

Differenz zum internen Hilfetext in Asterisk 1.2: 

-- in Version 1.2 nicht vorhanden --