<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi,</p>
    <p>I am considering using Encryptor4j
      <a class="moz-txt-link-freetext" href="https://github.com/martinwithaar/Encryptor4j">https://github.com/martinwithaar/Encryptor4j</a> for general
      encryption purposes in my project.</p>
    <p>It has this class</p>
    <blockquote>
      <p>public class AESEncryptorFactory implements EncryptorFactory {<br>
        <br>
            @Override<br>
            public final Encryptor messageEncryptor(Key key) {<br>
                return new Encryptor(key, "AES/CBC/PKCS5Padding", 16);<br>
            }<br>
        <br>
            @Override<br>
            public final Encryptor streamEncryptor(Key key) {<br>
                return new Encryptor(key, "AES/CTR/NoPadding", 16);<br>
            }<br>
        }<br>
      </p>
    </blockquote>
    <p>where the 16 is the ivLength.</p>
    <p>Is the algorithm shown in messageEncryptor suitable for password
      encryption?</p>
    <p>Is the algorithm shown in streamEncryptor suitable?</p>
    <p>Is anyone familiar with Encryptor4j and have any comments?</p>
    <p>Researching this subject reveals an enormous range of opinion and
      it seems to change every day. <br>
    </p>
    <p>So, as it is always recommended to rely on the experts, here I am
      at your mercy.<br>
    </p>
    <p>Paul Fraser<br>
    </p>
  </body>
</html>