Documentation ¶
Overview ¶
Package xxHash64 implements the very fast xxHash hashing algorithm (64 bits version). (https://github.com/Cyan4973/xxHash/)
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Checksum ¶
Checksum returns the 64bits Hash value.
Example ¶
package main import ( "bytes" "fmt" "github.com/pierrec/xxHash/xxHash64" ) func main() { buf := bytes.NewBufferString("this is a test") fmt.Printf("%x\n", xxHash64.Checksum(buf.Bytes(), 0xCAFE)) }
Output: 4228c3215949e862
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.