December 2014 files
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#include <functional>
|
||||
#include <xhash>
|
||||
|
||||
#include "Hasher.h"
|
||||
|
||||
@@ -19,7 +19,7 @@ wstring Hasher::getHash(wstring &name)
|
||||
//return new BigInteger(1, m.digest()).toString(16);
|
||||
|
||||
// TODO 4J Stu - Will this hash us with the same distribution as the MD5?
|
||||
return _toString( std::hash<wstring>{}( s ) );
|
||||
return _toString( hash_value( s ) );
|
||||
//}
|
||||
//catch (NoSuchAlgorithmException e)
|
||||
//{
|
||||
|
||||
Reference in New Issue
Block a user