Chilkat HOME Android™ ASP Visual Basic VB.NET C# iOS (IPhone) Objective-C C++ C Unicode C++ Unicode C MFC Delphi DLL Delphi ActiveX FoxPro Java Perl PHP Extension PHP ActiveX Python PowerShell Ruby SQL Server VBScript
MD4 Hash a StringMD4 hash a string. Download: Chilkat .NET Assemblies Chilkat.Crypt2 crypt = new Chilkat.Crypt2(); // Any string argument automatically begins the 30-day trial. bool success; success = crypt.UnlockComponent("30-day trial"); if (success != true) { MessageBox.Show(crypt.LastErrorText); return; } string content; content = "The quick brown fox jumps over the lazy dog"; // The desired output is a hexidecimal string: crypt.EncodingMode = "hex"; // Set the hash algorithm: crypt.HashAlgorithm = "md4"; string hashStr; hashStr = crypt.HashStringENC(content); textBox1.Text += hashStr + "\r\n"; // The output is: // 1BEE69A46BA811185C194762ABAEAE90 |
© 2000-2013 Chilkat Software, Inc. All Rights Reserved.