Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ModeToNewKeyFunc = map[state.Mode]func() []byte{ state.AESCBC: NewAES256Key, state.SecretBox: NewAES256Key, state.Identity: NewIdentityKey, } )
Functions ¶
func NewAES256Key ¶
func NewAES256Key() []byte
func NewIdentityKey ¶
func NewIdentityKey() []byte
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.