encrypt an object and save/restore it from a file