spdb-sm2 0.1.1

浦发银行API国密算法
Documentation
1
2
3
4
5
6
7
mod signature;
mod error;
mod crypt;

pub use signature::{sign, verify, sign_body, sha1_base64, rsa_verify};
pub use crypt::{encrypt, decrypt, generate_keypair};
pub use error::Sm2Error;