Example 2

In a PUT map function call enter:

=PUT("OPGP", " -U foo -ACTION ENCRYPT -FILE out. t -R fee -
ADDCMD ""--armor""", "Message to encrypt")

This map function call will:

  • encrypt the Message to encrypt string for the fee GnuPG user, using fee's public key. The message will be encrypted on behalf of the user foo.
  • generate encrypted data that will be ASCII armored and stored to file out.txt.