RSAKeyGenParameterSpec spec = new RSAKeyGenParameterSpec(1024,RSAKeyGenParameterSpec.F4); KeyPairGenerator keygen = KeyPairGenerator.getInstance("RSA"); keygen.initalize(((AlgorithmParameterSpec)spec)); KeyPair key = keygen.generateKeyPair(); mPrivateKey = key.getPrivate(); mPublicKey = key.getPublic();
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课