JS 字符串 md5

JS 字符串 md5

<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js"></script>

<script>
    var message = "Hello, World!";
    var hash = CryptoJS.MD5(message);
    console.log(hash.toString());
</script>