Packageorg.igniterealtime.xiff.util
Classpublic class SHA1

A static class for SHA1 hash creation. Original ActionScript 1.0 version by Branden Hall. Original ActionScript 2.0 translation by Ron Haberle.

See also

http://csrc.nist.gov/groups/ST/hash/statement.html
http://tools.ietf.org/html/rfc3174


Public Methods
 MethodDefined by
  
calcSHA1(str:String):String
[static] Takes a string and returns the hex representation of its SHA1 hash.
SHA1
Method detail
calcSHA1()method
public static function calcSHA1(str:String):String

Takes a string and returns the hex representation of its SHA1 hash.

Parameters
str:String — The string to use for calculating the hash

Returns
String — The SHA1 hash of the string passed to the function