encrypt
Encrypts data with key using AES/GCM/NoPadding.
Return
Encrypted data.
Parameters
data
Data.
key
Base64 encoded 256 bit key or null (to leave data unchanged).
Encrypts data with key using AES/GCM/NoPadding.
Return
Encrypted data.
Parameters
data
Data.
key
Base64 encoded 256 bit key or null (to leave data unchanged).
iv
Initialization vector.