// Classic Shell (c) 2009-2016, Ivo Beltchev // Confidential information of Ivo Beltchev. Not for disclosure or distribution without prior written consent from the author #include #include "FNVHash.h" #include "StringUtils.h" // FNV hash algorithm as described here: http://www.isthe.com/chongo/tech/comp/fnv/index.html // Calculate FNV hash for a memory buffer unsigned int CalcFNVHash( const void *buf, int len, unsigned int hash ) { for (int i=0;i