Implementing security TLS/SSL with no Spark-cloud

If using just AES is an option there’s this example code: