Just some code I had put together to demonstrate the basics of cracking passwords offline
To learn how it works see the following two blogs posts
https://www.securitynik.com/2019/03/understanding-password-cracking-basics.html
https://www.securitynik.com/2019/03/understanding-password-cracking-basics_2.html