Adding encryption class