Skip to content

qie.getMD5Hash

Signature: qie.getMD5Hash(value, base64Encode*)

Returns: String md5Hash - the MD5 hash

Returns the MD5 hash calculated from the specified value.

Parameters

Type Name Description Default
String value the value to calculate the MD5 hash from
Boolean base64Encode* (optional) set to true to Base64 encode the hash value, otherwise the hash will be hex encoded false

Example

var md5Hash = qie.getMD5Hash('This will have an MD5 hash calculated for it!');