final SecretKeySpec key = new SecretKeySpec(specKey, AES);
final Cipher cipher = Cipher.getInstance("AES/ECB/PKCS7Padding");
cipher.init(Cipher.ENCRYPT_MODE, key);
return new String(cipher.doFinal(plainText.getBytes()));
} catch (final Exception e) {
throw new NoSqlStoreException(e);
}
}