public static String decrypt(String key, String iv, String value) {
AESCipher cipher = new AESCipher();
cipher.setKey(Hash.hash256(key.getBytes()));
try {
return cipher.decrypt(value);
} catch (InvalidCipherTextException e) {
throw new RuntimeException(e);
}
}