Documentation ¶
Index ¶
- func Decrypt(mode Mode, key []byte, data []byte) ([]byte, error)
- func Encrypt(mode Mode, key []byte, data []byte) ([]byte, error)
- func GenerateAESKey(size Type) ([]byte, error)
- func GenerateAESKeyFromBytes(bytes []byte, size Type) ([]byte, error)
- func GenerateAESKeyFromString(str string, size Type) ([]byte, error)
- type Mode
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateAESKey ¶
func GenerateAESKeyFromBytes ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.