Local encryption for file synchronisation