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

Solutions on the web

via openbravopos by augustusalexand
, 1 year ago
unsupported key size: 21
via openbravopos by nobody
, 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.JPanelConfigDatabase.saveProperties(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$000(Unknown Source)
at net.adrianromero.tpv.config.JPanelConfiguration$1.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)

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.

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