API/libsapojs/SAPO/Utility/Crypto

[Elements] are optional

Class SAPO.Utility.Crypto


class SAPO.Utility.Crypto
Encryptation Utilities
Defined in Utility/Crypto/0.1/lib.js

Function Summary
String md5 (String string)
return the md5 value of the string
return the msg encrypted in sha1
return the s encrypted in sha256

Function Details

function md5

String md5(String string)
return the md5 value of the string
Parameters:
string
Returns:
md5 encrypt of the string

function sha1

String sha1(String msg)
return the msg encrypted in sha1
Parameters:
msg
Returns:
the message encrypted in sha1

function sha256

String sha256(String s)
return the s encrypted in sha256
Parameters:
s
Returns:
the s encrypted in sha256