javascriptbcryptbcryptjs

Using bcrypt on client side web page using JavaScript


For crypto-js, it was easy to use it like:

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

Is there any similar option for bcrypt, so that I can add it to a static page?


Solution

  • You can find it on jsDelivr. I'd have to note that bcryptjs (last update was 6 years ago - quite old) is a modified version of bcrypt (last update was 8 months ago - it's the official version anyway). if you want to use bcryptjs, find it on jsDeliver too (yet not recommended).