| fmt.Printf("%08x\n", simpleMishmash) | fmt.Printf("%08x\n", simpleMishmash) | ||||
| } | } | ||||
| */ | */ | ||||
| // example below used to validate output against C++ mishmash | |||||
| /* | |||||
| func main() { | |||||
| buf := []byte("Hello world!") | |||||
| first := MishmashAccumulator(Engine(buf, len(buf), 0)) | |||||
| second := MishmashAccumulator(Engine(buf, len(buf), 1)) | |||||
| var combo uint64 | |||||
| combo = uint64(first)<<32 | uint64(second) | |||||
| fmt.Println(first, second, combo) | |||||
| } | |||||
| */ |