MD5
Calculate the MD5 hash of the parameter data.
MD5(data)Examples
Compute the MD5 hash of the string hello world.
javascript
function main() {
Log(MD5("hello world"))
// Output: 5eb63bbbe01eeed093cb22bb8f5acdc3
}
python
def main():
Log(MD5("hello world"))
# Output: 5eb63bbbe01eeed093cb22bb8f5acdc3
rust
fn main() {
Log!(MD5("hello world"));
// Output: 5eb63bbbe01eeed093cb22bb8f5acdc3
}Returns
| Type | Description |
string | The MD5 hash value. |
Arguments
| Name | Type | Required | Description |
data | string | Yes | The data on which to perform the MD5 calculation. |
See Also
Remarks
After calling the MD5("hello world") function, the return value is: 5eb63bbbe01eeed093cb22bb8f5acdc3.