removed iv from encryption class