login | register
Wed 03 of Dec, 2008 [23:32 UTC]

voip-info.org

Discuss [0] History

Asterisk func sha1

Created by: murf,Last modification on Mon 17 of Apr, 2006 [03:56 UTC]

Synopsis:

 Computes a SHA1 digest

Description:

 SHA1(data)
Generate a SHA1 digest via the SHA1 algorythm.


Notes

  • *CLI> show function SHA1

Return value

Returns the 40 hex character digest string.

Example

exten => s,1,Set(sha1hash=${SHA1(junky)})
Sets the asterisk variable sha1hash to the string '60fa5675b9303eb62f99a9cd47f9f5837d18f9a0' which is known as his hash


See also



Comments