Pliant cryptographic systemSecured channel implementationIt's implemented in /pliant/util/cryto/channel.pli MD5 digestA MD5 digest is a 128 bits value. var Str s := string_md5_binary_signature "text to sign" returns the MD5 digest of the message as a 16 characters long string. The characters in the string can have any value from 0 to 255, so that the returned string may well be not printable, and even not a valid UTF8 string. var Str s := string_md5_hexa_signature "text to sign" returns the MD5 digest of the message as a 32 characters long string. The characters in the returned string as all in the range 0 to 9 or A to F, so the string is a 32 digits hexadecimal number. var Str s := file_md5_binary_signature "file:/tmp/foo" returns the MD5 digest of the file content as a 16 characters long string containing any characters. var Str s := file_md5_hexa_signature "file:/tmp/foo" returns the MD5 digest of the file content as a 32 characters long string representing a 32 digits hexadecimal number. |