标签: c# c++ sha
我有这个C#代码:
SHA1Managed hash = new SHA1Managed(); byte[] computedHash = hash.ComputeHash(_decryptedBytes);
我需要将此代码转换为C ++,我应该使用哪些函数?
特别是SHA1Managed.ComputeHash
答案 0 :(得分:0)
boost有一个SHA1实现http://charette.no-ip.com:81/programming/doxygen/boost/classboost_1_1uuids_1_1detail_1_1sha1.html