Documentation ¶
Index ¶
- func Decrypt(cipherText []byte, key []byte) ([]byte, error)
- func DecryptWithNonceSize(cipherBytes []byte, key []byte, nonceSize int) ([]byte, error)
- func Encrypt(plainBytes []byte, key []byte) ([]byte, error)
- func EncryptWithNonce(plainBytes []byte, key []byte, nonceBytes []byte) ([]byte, error)
- func EncryptWithNonceSize(plainBytes []byte, key []byte, nonceSize int) ([]byte, error)
- func NewStream(key []byte, nonceBytes []byte) (cipher.Stream, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptWithNonceSize ¶
func EncryptWithNonce ¶
func EncryptWithNonceSize ¶
32 bit key for AES-256 24 bit key for AES-192 16 bit key for AES-128
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.