NAME
std/digest/md5 - MD5 digests for BinaryString values.
SYNOPSIS
from std/digest/md5 import *;
let payload := to_binary( "hello" );
let raw := md5(payload);
let hex := md5_hex(payload);
let b64 := md5_b64(payload);
IMPLEMENTATION SUPPORT
This module is supported by all implementations of ZuzuScript.
DESCRIPTION
This module provides MD5 digest helpers.
EXPORTS
Functions
md5(BinaryString value)Parameters:
valueis binary input data. Returns:BinaryString. Returns the raw 16-byte MD5 digest.md5_hex(BinaryString value)Parameters:
valueis binary input data. Returns:String. Returns the digest as lowercase hexadecimal text.md5_b64(BinaryString value)Parameters:
valueis binary input data. Returns:String. Returns the digest as Base64 text without trailing=padding.
COPYRIGHT AND LICENCE
std/digest/md5 is copyright Toby Inkster.
It is free software; you may redistribute it and/or modify it under the terms of either the Artistic License 1.0 or the GNU General Public License version 2.