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)})
Asterisk-Versionen:
| | | 1.4 |————————| 1.6 |————————
Interner Hilfetext zu dieser Funktion 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 '60fa5675b9303eb62f99a9cd47f9f5837d18f9a0'
which is known as his hash