Added encryption class to library