public static String decrypt(byte[] message, String keyText){
        try {
            final byte[] initialKeyBytes = keyText.getBytes();
            final byte[] keyBytes=new byte[24];
            for(int i=0; i<24; i++){
                if (i<initialKeyBytes.length){
                    keyBytes[i]=initialKeyBytes[i];
                }
                else{
                    keyBytes[i]='_';
                }
            }
            final SecretKey key = new SecretKeySpec(keyBytes, "DESede");
            final IvParameterSpec iv = new IvParameterSpec(new byte[8]);
            final Cipher decipher = Cipher.getInstance("DESede/CBC/PKCS5Padding");
            decipher.init(Cipher.DECRYPT_MODE, key, iv);
            final byte[] plainText = decipher.doFinal(message);

            return new String(plainText, "UTF-8");
        } catch (NoSuchAlgorithmException e) {
            e.printStackTrace();
        } catch (NoSuchPaddingException e) {
            e.printStackTrace();
        } catch (InvalidKeyException e) {
            e.printStackTrace();
        } catch (InvalidAlgorithmParameterException e) {
            e.printStackTrace();
        } catch (IllegalBlockSizeException e) {
            e.printStackTrace();
        } catch (BadPaddingException e) {
            e.printStackTrace();
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }
        throw new RuntimeException("Error decrypting!");
    }