7071727374757677
this.decryptCipher = Cipher.getInstance(ALGORITHM, "SunJCE"); this.decryptCipher.init(javax.crypto.Cipher.DECRYPT_MODE, key, params); } catch (Exception e) { throw new EncryptionException("Problem constucting " + this.getClass().getName(), e); } }
8788899091929394
String encodedEncryptedDataString = this.base64Encoder.encode(encryptedDataStringBytes); return encodedEncryptedDataString; } catch (Exception e) { throw new EncryptionException("Problem encrypting string", e); } }
104105106107108109110111
String recoveredDataString = new String(dataStringBytes, characterEncoding); return recoveredDataString; } catch (Exception e) { throw new EncryptionException("Problem decrypting string", e); } }