~samiam/MaraDNS

ref: 3.5.0021 MaraDNS/deadwood-github/tools/coLunacyDNS/HalfSipHash1-3.c -rw-r--r-- 276 bytes
ca00f282 — Sam Trenholme MaraDNS release 3.5.0021 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Luancy stuff */
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"

#include <stdlib.h>

int main() {
	char test[66];
        int a;
	SipHashSetKey(0x03020100, 0x07060504);
        for(a = 0; a < 64; a++) { 
		test[a] = a;
		printf("%08x\n",SipHash(test, a)); 
	}
}