logo
Powered by QM on a Rpi server
Home
About OpenQM
Sales and Downloads
Help and Support
About
Login

KnowledgeBase 00065: MD5 Message Digest

Last updated: 17 Feb 2017
Applies to: All versions
Search  
Top level index       Full Index Search Tips
Previous article     Next article

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
   ed1e45651fb3f89efa444649006009fa 


Related Articles

None.



Please tell us if this article was helpful
Very     Slightly     Not at all
Comments
Email (optional)