# AES Encryption using Scripting

**URL:** <https://forum.inductiveautomation.com/t/aes-encryption-using-scripting/24554>\
**Category:** Ignition\
**Created:** [May 1, 2019, 12:53pm UTC](https://forum.inductiveautomation.com/t/aes-encryption-using-scripting/24554 "2019-05-01T12:53:35Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [May 1, 2019, 3:30pm UTC](https://forum.inductiveautomation.com/t/aes-encryption-using-scripting/24554/3 "2019-05-01T15:30:09Z")

</div>

You could translate the Java code here into Jython _fairly_ easily; drop type information, curly braces, and add qualified imports (`from package import Class`) at the top of the file:

> **[Java AES Encryption Decryption Example - HowToDoInJava](https://howtodoinjava.com/java/java-security/java-aes-encryption-example/)**
>
> Java support many secure encryption algorithms but some of them are weak to be used in security-intensive applications. For example, the Data Encryption Standard (DES) encryption algorithm is considered highly insecure; messages encrypted using DES...

---

_[View the full topic](https://forum.inductiveautomation.com/t/aes-encryption-using-scripting/24554)._
