title: How to portably compute a sha1 hash in C++?
body: <p>The objective is to compute the <a href="http://en.wikipedia.org/wiki/SHA-1" rel="noreferrer">SHA1</a> hash of a buffer or multiple buffers as part of a C++ program.</p>