java.security.InvalidParameterException: unsupported key size: 21

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via openbravopos by nobody
, 1 year ago
unsupported key size: 21
via openbravopos by augustusalexand
, 1 year ago
unsupported key size: 21
java.security.InvalidParameterException: unsupported key size: 21
at gnu.javax.crypto.jce.key.SecretKeyGeneratorImpl.engineInit(libgcj.so.7rh)
at net.adrianromero.tpv.util.AltEncrypter.(Unknown Source)
at net.adrianromero.tpv.config.JPanelConfiguration.saveProperties(Unknown Source)
at net.adrianromero.tpv.config.JPanelConfiguration.jbtnSaveActionPerformed(Unknown Source)
at net.adrianromero.tpv.config.JPanelConfiguration.access$600(Unknown Source)
at net.adrianromero.tpv.config.JPanelConfiguration$7.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(libgcj.so.7rh)
at javax.swing.AbstractButton$1.actionPerformed(libgcj.so.7rh)
at javax.swing.DefaultButtonModel.fireActionPerformed(libgcj.so.7rh)
at javax.swing.DefaultButtonModel.setPressed(libgcj.so.7rh)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(libgcj.so.7rh)
at java.awt.Component.processMouseEvent(libgcj.so.7rh)
at java.awt.Component.processEvent(libgcj.so.7rh)
at java.awt.Container.processEvent(libgcj.so.7rh)
at java.awt.Component.dispatchEventImpl(libgcj.so.7rh)
at java.awt.Container.dispatchEventImpl(libgcj.so.7rh)
at java.awt.Component.dispatchEvent(libgcj.so.7rh)
at java.awt.LightweightDispatcher.handleMouseEvent(libgcj.so.7rh)
at java.awt.LightweightDispatcher.dispatchEvent(libgcj.so.7rh)
at java.awt.Container.dispatchEventImpl(libgcj.so.7rh)
at java.awt.Window.dispatchEventImpl(libgcj.so.7rh)
at java.awt.Component.dispatchEvent(libgcj.so.7rh)
at java.awt.EventQueue.dispatchEvent(libgcj.so.7rh)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.