ExAws.S3.Crypto.AESGCMCipher.encrypt

You're seeing just the function encrypt, go back to ExAws.S3.Crypto.AESGCMCipher module for more information.

Specs

encrypt(key :: bitstring(), contents :: binary()) ::
  {:ok, {encrypted_result :: bitstring(), initialization_vector :: bitstring()}}
  | {:error, reason :: String.t()}

Encrypt the given contents with the supplied key.