Add encryption class.