Added encryption work.