title: java.security.NoSuchAlgorithmException: AES KeyGenerator not available while deploy on jboss
body: <p>I have a problem and I need your help. I get this error while deploying my project on jboss:</p>
  
  <pre><code>Unexpected exception initializing encryption.  No encryption will be performed.: javax.faces.FacesException: java.security.NoSuchAlgorithmException: AES KeyGenerator not available
      at com.sun.faces.renderkit.ByteArrayGuard.setupKeyAndMac(ByteArrayGuard.java:232)
      at com.sun.faces.renderkit.ByteArrayGuard.&lt;init&gt;(ByteArrayGuard.java:89)
      at com.sun.faces.renderkit.ClientSideStateHelper.init(ClientSideStateHelper.java:496)
      at com.sun.faces.renderkit.ClientSideStateHelper.&lt;init&gt;
  Caused by: java.security.NoSuchAlgorithmException: AES KeyGenerator not available
      at javax.crypto.KeyGenerator.&lt;init&gt;(KeyGenerator.java:169)
      at javax.crypto.KeyGenerator.getInstance(KeyGenerator.java:223)
      at com.sun.faces.renderkit.ByteArrayGuard.setupKeyAndMac(ByteArrayGuard.java:226)
      ... 29 more
  </code></pre>