title: encrypt file line by line using openssl on UNIX
body: <p>I need to encrypt a file containing one CLIENT_ID by line.</p>
  
  <p>When I use 
  <code>openssl enc -k jesuislacle  -aes256 -base64 -e -in &amp;_fidat/num_tie_dmp.csv -out &amp;_fidat/decrypted_numtie.csv</code>, I encrypt the whole file.
  But what I want is to encrypt line by line. i.e.</p>
  
  <p>Original I have:</p>
  
  <pre><code>ABCDEC
  FGHHIJ
  KLMNOP
  QRSTUV
  </code></pre>
  
  <p>What I want :</p>
  
  <pre><code>QHXrpv3ah0qEPBECCt1//PBKiugmWYMuE+WaA4r9Rgc#
  nAca0Pb6bH1cQRfkO9wReY+X6dgl44BKE/nKSFBLM+o#
  UjTJsoHoLAC0GeqqImxDXX9znUtd7dGm4VODZ+T7lvM#
  dcU+H+jd9RZZqweDu1nnJDWMlKjxW2Hc+Q2uAW1tQfk#
  </code></pre>
  
  <p>For the moment, I launch this command X times for each ID.
  But I can have, more than 10000 ID to encrypt. It takes few hours to have the results. It's too much.</p>
  
  <p>What's the best way.
  I'm on SAS 9.3, UNIX and I have to encrypt in AES 256 not MD5 (thank's to my DPO :-) ) </p>
  
  <p>Thanks for your help.
  Jérome</p>