This is a simple powershell script that generates the checksum of files and of strings.
SHA1
SHA256
MD5
You can download only the exe or if you want to explore the code you can fork the repo.
Never download a script/software which wants important Operating System stuff without checking the checksum.