Encryption works, and some local stuff