A simple example of AES encryption in Java, using a password-based key, a salt and an initialisation vector.