BoostでSHA-1

detailですが、Boost.Uuidに含まれているので、必要であればboost/uuid/sha1.hppが使えると思います。
待てる人はBoost.Crypto待ちで。