MD5 using JavaScript



Home

Algorithm

C++

Java

Python

PHP

ASP

.NET Framework

ActionScript

JavaScript

Contact

Source Code

md5.js

Usage

Download the file from the link above. Save in the same directory as your html file and insert a tag like:

          <script type="text/javascript" src="md5.js"></script>

When you want to calculate a hash, use:

          <script type="text/javascript">
                hash = hex_md5("input string");
          </script>