You can use https://www.srihash.org/ to generate links.
https://code.jquery.com/jquery-3.6.0.min.js
will be generated as
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha512-894YE6QWD5I59HgZOGReFYm4dnWc1Qt5NtvYSaNcOP+u1T9qYdvdihz0PPSiiqn/+/3e7Jo4EaG7TubfWGUrMQ==" crossorigin="anonymous"></script>
You can get all the versions of jquery from here:
https://releases.jquery.com/jquery/
Thanks to mscdeveloper for such great post.