It is used for generating key and encrypting messages using AES-GCM. The message format is IV | encpayload | TAG