java.security.InvalidKeyException

Illegal key size

Samebug tips1

Install Java Cryptopraphic Extention for your JDK version


ifercaiferca

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web188

  • via GitHub by diogogmt
    ,
  • via GitHub by malitech
    ,
  • Stack trace

    • java.security.InvalidKeyException: Illegal key size at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039) at javax.crypto.Cipher.init(Cipher.java:1393) at javax.crypto.Cipher.init(Cipher.java:1327) at at.asitplus.regkassen.core.base.util.AESUtil.encryptCTR(AESUtil.java:268) at at.asitplus.regkassen.core.DemoCashBox.updateTurnOverCounterAndAddToDataToBeSigned(DemoCashBox.java:335) at at.asitplus.regkassen.core.DemoCashBox.prepareSignatureData(DemoCashBox.java:215) at at.asitplus.regkassen.core.DemoCashBox.createStoreAndSignReceiptPackage(DemoCashBox.java:79) at at.asitplus.regkassen.core.DemoCashBox.storeReceipt(DemoCashBox.java:141) at at.asitplus.regkassen.demo.SimpleDemo.main(SimpleDemo.java:189)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    DannyDBagDannyDBag
    Once,
    Nikolay RybakNikolay Rybak
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    ifercaiferca
    6 times, last one
    HandemelindoHandemelindo
    2 times, last one
    23 more bugmates