Add encryption method