% package require md4
1.0.4
% base64::encode [md4::md4 {}]
MdbP4NFq6TG3PFnX4MCJwA==
% md4::md4 -hex {}
31D6CFE0D16AE931B73C59D7E0C089C0
% base64::encode [md4::md4 a]
veUssx3jPkYkXgX729b7JA==
% md4::md4 -hex a
BDE52CB31DE33E46245E05FBDBD6FB24Note that by default, the [md4::md4] command produces binary output strings. The -hex option makes it produce output in a human-readable format, and it is also quite common to use base64-encoding as that is more compact.See also md5, sha1, sha2, RIPEMD, ntlm[ Category Cryptography | Category Package, subset tcllib ]
