Method of encrypting the text.