mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 22:44:02 +03:00
FILE / ScuroNeko/mtg
_antireplay/hasher.go
Исходный файл и его история в репозитории.
10 lines
159 B
Go
10 lines
159 B
Go
package antireplay
|
|
|
|
import "github.com/cespare/xxhash"
|
|
|
|
type hasher struct{}
|
|
|
|
func (h hasher) Sum64(value string) uint64 {
|
|
return xxhash.Sum64String(value)
|
|
}
|