Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 21 lines (12 sloc) 0.247 kb
a9a40fc Evan Phoenix Switch String::hash_str to use Siphash to defeat Hash DOS attempts
evanphx authored
1 #ifndef __SIPHASH_H__
2 #define __SIPHASH_H__
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #include <stddef.h>
9 #include <stdint.h>
10
11
12 uint64_t siphash24(uint64_t key0, uint64_t key1, void const* data, size_t size);
13
14 #ifdef __cplusplus
15 }
16 #endif
17
18
19 #endif
20
Something went wrong with that request. Please try again.