title: Differences in behavior for different openssl versions
body: <p>I'm not sure what I'm doing wrong here, but I've got all of my passwords saved in a file as encrypted strings. The command I use to encrypt them is something like:</p>
  
  <pre><code>echo "password" | openssl enc -aes-256-cbc -a -nosalt
  </code></pre>
  
  <p>I then use <code>password</code> as the encryption key.</p>
  
  <p>Originally (using openssl version 1.0.2g), this resulted in the string</p>
  
  <pre><code>7Lz5dLLYCLCv9GjadL1LTQ==
  </code></pre>
  
  <p>which has been saved to the passwords file. However, when I now run the same command using version 1.1.0g, I get the string</p>
  
  <pre><code>qq26+CHHB6MuY33GAqeIVw==
  </code></pre>
  
  <p>This means that when I now come to decode my passwords, they do not decode correctly. Is there something that I'm missing here?</p>
  
  <blockquote>
    <p>NB: I know that the <code>nosalt</code> option is a bad idea, and I don't actually use it. I've just included it here to help clarify my problem.</p>
  </blockquote>