generate Encrypt, support CRT etc