SAPO::Utility.Crypto->sha256
This method will return a sha256 hash of the input string.
This is static method.
Syntax
SAPO.Utility.Crypto.sha256(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.sha256('string to convert to sha256 hash'));
Community feedback