Documentation
¶
Index ¶
Constants ¶
View Source
const BlockSize = 16
Variables ¶
This section is empty.
Functions ¶
func NewCipher ¶
NewCipher security warning: this function is provided as part of cipher.Block spec. The expanded key could be left in heap memory after use, or copied around by GC or OS. Unfortunately *automatic* destroying the expanded key is rather complicated in Go. See https://github.com/golang/go/issues/18645 Also see https://github.com/awnumar/memguard
Types ¶
type KeySizeError ¶
type KeySizeError int
func (KeySizeError) Error ¶
func (k KeySizeError) Error() string
Click to show internal directories.
Click to hide internal directories.