Encryption work

Commented out on-working code