Package | com.adobe.crypto |
Class | public class SHA1 |
Method | Defined by | ||
---|---|---|---|
hash(s:String):String
[static]
Performs the SHA1 hash algorithm on a string.
| SHA1 | ||
hashToBase64(s:String):String
[static]
Performs the SHA1 hash algorithm on a string, then does
Base64 encoding on the result.
| SHA1 |
hash | () | method |
public static function hash(s:String):String
Performs the SHA1 hash algorithm on a string.
Parameterss:String — The string to hash
|
String — A string containing the hash value of s
|
hashToBase64 | () | method |
public static function hashToBase64(s:String):String
Performs the SHA1 hash algorithm on a string, then does Base64 encoding on the result.
Parameterss:String — The string to hash
|
String — The base64 encoded hash value of s
|