sm2,sm3,cryptojs,crypto,base64,rsa,aes crypt var ec = new KJUR.crypto.ECDSA({"curve": curve}); var keypair = ec.generateKeyPairHex(); var privateKey = keypair.ecprvhex; var publickey = keypair.ecpubhex; privateKey: 54232d8aaa3209ee123e07c34314e50e29fbb941496f92e219eb62c5bd40d...