added encryption.py for symmetric encryption