added encryption decryption class