added basic symmetric encryption