Documentation
¶
Index ¶
- Constants
- func New(key []byte) (h godium.ShortHash64)
- func NewSiphash24(key []byte) (h godium.ShortHash64)
- func NewSiphashx24(key []byte) (h godium.ShortHash128)
- func ShortHash64(key, data []byte) (sum uint64)
- func ShortHash128(key, data []byte) (s1, s2 uint64)
- func Siphash24(key, data []byte) (sum uint64)
- func Siphashx24(key, data []byte) (s1, s2 uint64)
Constants ¶
View Source
const ( Siphash24_Bytes = 8 Siphash24_KeyBytes = 16 Siphashx24_Bytes = 16 Siphashx24_KeyBytes = 16 Primitive = "siphash24" Bytes = Siphash24_Bytes KeyBytes = Siphash24_KeyBytes )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(key []byte) (h godium.ShortHash64)
func NewSiphash24 ¶
func NewSiphash24(key []byte) (h godium.ShortHash64)
func NewSiphashx24 ¶
func NewSiphashx24(key []byte) (h godium.ShortHash128)
func ShortHash64 ¶
func ShortHash128 ¶
func Siphashx24 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.