Added encryption class