package Imooc;
import java.security.KeyFactory;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.NoSuchAlgorithmException;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.security.interfaces.RSAPrivateKey;
import java.security.interfaces.RSAPublicKey;
import java.security.spec.PKCS8EncodedKeySpec;
import java.security.spec.X509EncodedKeySpec;
import java.security.Signature;
import com.sun.org.apache.xerces.internal.impl.dv.util.HexBin;
//import com.sun.org.apache.bcel.internal.classfile.Signature;
public class ImoocRSA {
private static String src = "imooc security rsa";
public static void main(String[] args) {
import java.security.KeyFactory;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.NoSuchAlgorithmException;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.security.interfaces.RSAPrivateKey;
import java.security.interfaces.RSAPublicKey;
import java.security.spec.PKCS8EncodedKeySpec;
import java.security.spec.X509EncodedKeySpec;
import java.security.Signature;
import com.sun.org.apache.xerces.internal.impl.dv.util.HexBin;
//import com.sun.org.apache.bcel.internal.classfile.Signature;
public class ImoocRSA {
private static String src = "imooc security rsa";
public static void main(String[] args) {