Get started with blueimp-md5 CDN

MIT licensed

Blueimp-MD5 is a library for computing the MD5 hash of strings.

Tags:
  • javascript
  • md5

Stable version

Copied!

How to start using blueimp-md5 CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with blueimp-md5 CDN - cdnhub.io</title>
    <script src="https://cdn.cdnhub.io/blueimp-md5/2.19.0/js/md5.min.js"></script>
</head>
<body>
    <button id="calculateMD5">Calculate MD5</button>
    <script>
        document.getElementById('calculateMD5').addEventListener('click', function() {
            const input = 'This is a test string';
            const md5 = new MD5();
            const result = md5.extend(md5.create())
                .update(input)
                .end();
            alert('MD5: ' + result);
        });
    </script>
</body>
</html>
Copied!
Copied!

All versions