Documentation
¶
Index ¶
- func DecryContentWithAESCBC(ciphertext []byte, key []byte, iv []byte) ([]byte, error)
- func DecryContentWithAESGCM(ciphertext []byte, key []byte, iv []byte) ([]byte, error)
- func EncryContentWithAESCBC(plaintext []byte, key []byte, iv []byte) ([]byte, error)
- func EncryContentWithAESGCM(plaintext []byte, key []byte, iv []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryContentWithAESCBC ¶ added in v1.2.0
AES-CBC 解密
func DecryContentWithAESGCM ¶ added in v1.2.0
AES-GCM 解密
func EncryContentWithAESCBC ¶ added in v1.2.0
AES-CBC 加密
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.