Documentation
¶
Index ¶
- Variables
- func Decrypt(key []byte, ct []byte) (msg []byte, err error)
- func Encrypt(key []byte, msg []byte) (ct []byte, err error)
- func GenerateIV() (iv []byte, err error)
- func GenerateKeyIfNoneExists(filepath string, size int, activation_key string) (err error)
- func GenerateRandomByteSlice(size int) (b []byte, err error)
- func GetSymmetricKey(filepath string, size int, activation_key string) ([]byte, error)
- func PadBuffer(m []byte) (p []byte, err error)
- func UnpadBuffer(p []byte) (m []byte, err error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GenerateIV ¶
func GenerateKeyIfNoneExists ¶
func GenerateRandomByteSlice ¶
func GetSymmetricKey ¶
func UnpadBuffer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.