Remove rust-crypto dependency (only used during debugging), and split KeyPair into Private/Public parts.

This commit is contained in:
2019-05-15 21:38:25 -07:00
parent 9cf0b587b2
commit 1b2d7db1e0
3 changed files with 70 additions and 48 deletions

View File

@@ -24,8 +24,6 @@ extern crate sha1;
extern crate sha2;
#[macro_use]
extern crate simple_asn1;
#[cfg(test)]
extern crate crypto;
/// The `rsa` module provides bare-bones support for RSA signing, verification,
/// encryption, decryption, and key generation.