Added an encryption class