>Also, I have seen that there seems to be a Windows API that does SHA-1, but I have no clear idea how to invoke that.
Go for Craig's program as pointed to by Sergey. The Windows Crypto API is deprecated, doesn't work accross all versions of Windows properly and it's harder to use.
"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry