Files
CPM.cmake/examples/xxHash/main.cpp

13 lines
222 B
C++
Raw Permalink Normal View History

#include <xxh3.h>
#include <iostream>
int main() {
std::string example = "Hello World!";
XXH64_hash_t hash = XXH3_64bits(example.data(), example.size());
std::cout << "Hash: " << hash << std::endl;
return 0;
}