Documentation ¶
Index ¶
Examples ¶
Constants ¶
View Source
const ( Version = 2 VersionName = "0.2/Ragdoll" )
Meow hash version implemented by this package.
View Source
const BlockSize = 256
BlockSize is the underlying block size of Meow hash in bytes.
View Source
const Size = 16
Size of a Meow checksum in bytes.
Variables ¶
This section is empty.
Functions ¶
func Checksum ¶
Checksum returns the Meow checksum of data.
Example ¶
package main import ( "fmt" "github.com/mmcloughlin/meow" ) func main() { checksum := meow.Checksum(0, []byte("Hello, World!")) fmt.Printf("%x\n", checksum) }
Output: a8cfb4aad7eada8ef007aafe27135386
func Checksum32 ¶
Checksum32 returns the 32-bit checksum of data.
func Checksum64 ¶
Checksum64 returns the 64-bit checksum of data.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.