title: openssl aes gcm encryption with authentication TAG; command line
body: <p>I'm trying to encrypt a file in AES-GCM mode with 'openssl' th/ command line</p>
  
  <pre><code>openssl enc -aes-256-gcm -p -iv 000000000000000000000000 -K 00000000000000000000000000000000000000000000000000000000000000 -nosalt -in file.raw -out file.enc`
  </code></pre>
  
  <p>Encryption works but I could not find a way to retrieve a resulting GCM tag.
  <strong>Is there a way to get it?</strong></p>
  
  <p>In this document (<a href="https://ensiwiki.ensimag.fr/images/b/b3/Cheat.pdf" rel="noreferrer">link</a>) I found "Note that it is now even possible to use authenticated mode like CCM or GCM" but still there is none info how to do that.</p>
  
  <p>Or if there any other standard macos tool which could do the same job?
  <br/><br/><br/></p>
  
  <p>PS: I'm interesting in doing that through the means of commonly distributed command line tools, that's not a question about writing own utility</p>