Code example for IllegalBlockSizeException

Methods: getMessage

0
        } catch (NoSuchPaddingException e2) {
            sbfMessage.append(e2.getMessage());
        } catch (InvalidKeyException e3) {
            sbfMessage.append(e3.getMessage());
        } catch (IllegalBlockSizeException e4) {
            sbfMessage.append(e4.getMessage());
        } catch (BadPaddingException e5) {
            sbfMessage.append(e5.getMessage());
        } catch (Exception e6) {
            sbfMessage.append(e6.getMessage());
        } 
 
        return base64Encode(bytReturn);
    } 
 
    /** 
     * 3DES加密(密钥动态产生) 
     * @param String 明文串 
     * @param String 密钥源串 
     * @return String 密文串 
Connect your IDE to all the code out there  Get Codota for Java