Create encryption code