Documentation
¶
Index ¶
Constants ¶
View Source
const (
// KeyLength is the requested encryption key size.
KeyLength = 32
)
View Source
const (
LocalPrefix = "v4x.local."
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LocalKey ¶
type LocalKey [32]byte
LocalKey represents a key for symetric encryption (local).
func GenerateLocalKey ¶
GenerateLocalKey generates a key for local encryption.
func LocalKeyFromSeed ¶
LocalKeyFromSeed creates a local key from given input data.
Click to show internal directories.
Click to hide internal directories.