agowa / WSL-DistroLauncher-Alpine

Alpine WSL Microsoft Store packages.
MIT License
211 stars 28 forks source link

License for checksum functions? #39

Closed 3xtant closed 3 years ago

3xtant commented 3 years ago

Hi, thanks for this project. To me, this is the best WSL-DistroLauncher fork. Great job.

My question is: what is the license of the Checksum Verify functions? I'd like to add them to my fork, but there is no license or copyright info.

Thanks!

agowa commented 3 years ago

I wrote it myself so it's MIT.

It's based upon the windows crypto api documentation and examples from docs.microsoft.com and some stackoverflow for things like string conversions... docs.microsoft.com used MD5 I rewrote it for sha256. The md5 version is here: https://docs.microsoft.com/en-us/windows/win32/seccrypto/example-c-program--creating-an-md-5-hash-from-file-content