Documentation ¶
Index ¶
- Constants
- func DecryptCFB(length crypto.KeyLen, secret, ciphertext []byte) ([]byte, error)
- func DecryptCTR(length crypto.KeyLen, secret, ciphertext []byte) ([]byte, error)
- func DecryptGCM(keyLen crypto.KeyLen, secret, ciphertext []byte) ([]byte, error)
- func EncryptCFB(length crypto.KeyLen, secret, plaintext []byte) ([]byte, error)
- func EncryptCTR(length crypto.KeyLen, secret, plaintext []byte) ([]byte, error)
- func EncryptGCM(keyLen crypto.KeyLen, secret, plaintext []byte) ([]byte, error)
- type CipherCall
Constants ¶
currently supported modes
Variables ¶
This section is empty.
Functions ¶
func DecryptCFB ¶
DecryptCFB supports AES128-CFB, AES192-CFB, and AES256-CFB decryption.
func DecryptCTR ¶
DecryptCTR supports AES128-CTR, AES192-CTR, and AES256-CTR decryption.
func DecryptGCM ¶
DecryptGCM supports AES128-GCM, AES192-GCM, and AES256-GCM decryption.
func EncryptCFB ¶
EncryptCFB supports AES128-CFB, AES192-CFB, and AES256-CFB encryption.
func EncryptCTR ¶
EncryptCTR supports AES128-CTR, AES192-CTR, and AES256-CTR encryption.
Types ¶
Click to show internal directories.
Click to hide internal directories.