javax.crypto.IllegalBlockSizeException: Data must not be longer than 128 bytes

Stack Overflow | Flanker | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java decryption rsa from javascript encrypt

    Stack Overflow | 8 months ago | Flanker
    javax.crypto.IllegalBlockSizeException: Data must not be longer than 128 bytes
  2. 0

    Client side encryption and serverside decription using jersey not working

    Stack Overflow | 4 years ago | user2652691
    javax.crypto.IllegalBlockSizeException: Data must not be longer than 128 bytes
  3. 0

    Using RSA encryption with Java | Aviran’s Place

    aviransplace.com | 8 months ago
    javax.crypto.IllegalBlockSizeException: Data must not be longer than 128 bytes
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Using RSA encryption with Java | Aviran’s Place

    aviransplace.com | 8 months ago
    javax.crypto.IllegalBlockSizeException: Data must not be longer than 128 bytes
  6. 0

    Please help with VB(encrypt) -> Java (decrypt)

    Oracle Community | 9 years ago | 843811
    javax.crypto.IllegalBlockSizeException: Data must not be longer than 128 bytes

  1. iferca 2 times, last 4 months ago
4 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.crypto.IllegalBlockSizeException

    Data must not be longer than 128 bytes

    at com.sun.crypto.provider.RSACipher.doFinal()
  2. com.sun.crypto
    RSACipher.engineDoFinal
    1. com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:346)
    2. com.sun.crypto.provider.RSACipher.engineDoFinal(RSACipher.java:391)
    2 frames
  3. Android Platform
    Cipher.doFinal
    1. javax.crypto.Cipher.doFinal(Cipher.java:2087)
    1 frame
  4. com.evnit.futil
    EncryptionUtil.main
    1. com.evnit.futil.security.EncryptionUtil.decrypt(EncryptionUtil.java:146)
    2. com.evnit.futil.security.EncryptionUtil.main(EncryptionUtil.java:201)
    2 frames