hsum lets you get the MD5, SHA-1, SHA-256 And SHA-512 hash of a file using  OpenSSL.Net