SAPO::Utility.Crypto->sha1
This method will return a sha1 hash of the input string.
This is static method.
Syntax
SAPO.Utility.Crypto.sha1(string)
Compatibility
| All browsers | Yes |
Depends
Input Parameters
- (string) string : Input string
Sample
http://js.sapo.pt/SAPO/Utility/Crypto/sample/
Example
alert(SAPO.Utility.Crypto.sha1('string to convert to sha1 hash'));
Community feedback