org.jivesoftware.xiff.data.auth
class SHA1
Object
|
+--org.jivesoftware.xiff.data.auth.SHA1
class SHA1 extends Object
A static class for SHA1 hash creation. Original ActionScript 1.0 version by Branden Hall. Original ActionScript 2.0 translation by Ron Haberle.
- Author:Sean Voisen
- Since:2.0.0
Method Documentation
calcSHA1
public static function calcSHA1 (
str: String): String
Takes a string and returns the hex representation of its SHA1 hash.
- Parameters:
str The string to use for calculating the hash - Returns:The SHA1 hash of the string passed to the function
- SHA1.as, Last Modified: 3/10/2005 10:08:34 PM