Asterisk func sha1

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


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


Created by: murf, Last modification: Fri 05 of Nov, 2010 (09:47 UTC) by admin
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+