|Powered by QM on a Rpi server|
KnowledgeBase 00065: MD5 Message Digest
This article was originally published as a Tip of the Week.
The MD5 Message Digest algorithm constructs a 128 bit hash value that can be used for non-reversable cryptography (e.g. passwords) or for data integrity checks. MD5 is a widely used industry standard.
The MD5() Function
QM provides an MD5() function that takes a character string argument and returns a 32 digit hexadecimal representation of the MD5 hash value. For compatibility with common usage of MD5, the hexadecimal value uses lowercase letters.
DISPLAY MD5('Example message')The above QMBasic statement would display