BE_MessageDigest ( text {; algorithm ; encoding } )


Returns a hash value generated by the MD5 or SHA functions from the text given, and optional encoding.


Version : 1.2
Version : 3.0 : added the optional encoding parameter.


Parameters :
text : the text to process.
algorithm ( optional ) : The type of hashing function to use. Default is to use SHA256.
encoding ( optional ) : Possible values are BE_Encoding_Hex or BE_Encoding_Base64 with no encoding being the default.


Result : the output of the hash function specified.

Have more questions? Submit a request


Article is closed for comments.