Documentation

Index

Constants

View Source
const (
	// NonceSize is the default NonceSize
	NonceSize = 24
)

Variables

This section is empty.

Functions

func GetRandomBytes

func GetRandomBytes(len int) ([]byte, error)

    GetRandomBytes returns len random looking bytes

    func GetRandomNonce

    func GetRandomNonce() ([]byte, error)

      GetRandomNonce returns a random byte array of length NonceSize

      Types

      This section is empty.

      Source Files