Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidKeySize = errors.New("siphash: key must be 16 bytes")
)
Functions ¶
func Sum64FromInts ¶
Sum64FromInts 使用两个 uint64 作为密钥计算 SipHash
Types ¶
type SipHasher ¶
type SipHasher struct {
// contains filtered or unexported fields
}
SipHasher SipHash 哈希器
func (*SipHasher) Sum64WithKey ¶
Sum64WithKey 使用指定密钥计算 SipHash
Click to show internal directories.
Click to hide internal directories.