Function gm_rs::sm2::key::gen_keypair
source · pub fn gen_keypair(
compress_modle: CompressModle
) -> Sm2Result<(Sm2PublicKey, Sm2PrivateKey)>
Expand description
generate key pair
pub fn gen_keypair(
compress_modle: CompressModle
) -> Sm2Result<(Sm2PublicKey, Sm2PrivateKey)>
generate key pair