Basic crypto

Some edits at work. Added encryption to Entry post method, etc.