title: What is PBEWithMD5AndDes?
body: <p>I am learning encryption algorithm in Java and stumble upon this algorithm:</p>
  
  <pre><code>  SecretKey key = SecretKeyFactory.getInstance(
                      "PBEWithMD5AndDES").generateSecret(keySpec);
  </code></pre>
  
  <p>I know it stands for Password Based Encryption with MD5 and DES algorithms.
  I know MD5 and DES are two separate algorithm encryption key but what exactly does PBEWithMD5AndDes means as an algorithm?</p>
  
  <p>There isn't much resources online that does a good explanation regarding this "algorithm". </p>
  
  <p>I was hoping someone could give simple and brief explanation about how this is different from a normal MD5 or normal DES algorithm.</p>