I have used following library for many years and now it is not available. http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/md5.js
Can someone help to find alternative?
I have used following library for many years and now it is not available. http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/md5.js
Can someone help to find alternative?
Download the library sources you need from here: https://code.google.com/archive/p/crypto-js/downloads
Then put them on your own server ... then replace http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/md5.js by /directory_where_you_put_the_download/rollups/md5.js
It works for me.
It is still hosted on cdnjs, I found the working URLs for it See my answer How to generate an MD5 file hash in JavaScript?
the URLs to the individual js files such as md5.js have changed(and besides that , you need to load core.js first)
try <script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/components/core.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/rollups/md5.js"></script>
and see https://cdnjs.com/libraries/crypto-js for URLs
and you can use code such as e.g.
var hash = CryptoJS.MD5("Message");
console.log(hash);
I'm always visiting https://cdnjs.com/libraries/crypto-js when I need anything like this. Free and open source CDN. You can find many versions there.