Documentation
¶
Index ¶
Constants ¶
View Source
const HmacSHA1Len = 10
Variables ¶
View Source
var BufPool = sync.Pool{New: func() interface{} { return &bytes.Buffer{} }}
Functions ¶
func AppendRandBytes ¶ added in v1.4.0
Types ¶
type XorShift128Plus ¶ added in v1.4.0
type XorShift128Plus struct {
// contains filtered or unexported fields
}
XorShift128Plus - a pseudorandom number generator
func (*XorShift128Plus) InitFromBin ¶ added in v1.4.0
func (r *XorShift128Plus) InitFromBin(bin []byte)
func (*XorShift128Plus) InitFromBinAndLength ¶ added in v1.4.0
func (r *XorShift128Plus) InitFromBinAndLength(bin []byte, length int)
func (*XorShift128Plus) Next ¶ added in v1.4.0
func (r *XorShift128Plus) Next() uint64
Click to show internal directories.
Click to hide internal directories.