浏览代码

testing against CodeDweller/mishmash, minor changes in preparation of testing Golang Threatable

master
William Dillon 3 年前
父节点
当前提交
75fc6bd2db
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11
    0
      mishmash.go

+ 11
- 0
mishmash.go 查看文件

@@ -85,3 +85,14 @@ func main() {
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)
}
*/

正在加载...
取消
保存