Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AESGCMDecrypt ¶
AESGCMDecrypt 根据 key 将密文 cipherMessage 进行 AES-GCM 解密,根据 additionalData 进行验证,返回明文 The key argument should be the AES key, either 16, 24, or 32 bytes to select AES-128, AES-192, or AES-256.
func AESGCMEncrypt ¶
AESGCMEncrypt 根据 key 将明文 plainText 进行 AES-GCM 加密,根据 additionalData 进行验证,返回密文 The key argument should be the AES key, either 16, 24, or 32 bytes to select AES-128, AES-192, or AES-256.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.