Add a bunch of documentation and examples.

This commit is contained in:
2019-06-08 11:39:47 -07:00
parent 6d4c9c4f50
commit c675aaa5f6
5 changed files with 234 additions and 6 deletions

View File

@@ -45,8 +45,8 @@ pub mod ssh;
/// used by TLS and others.
pub mod x509;
/// An implementation of the SHA family of hashes, including the relatively
/// weak SHA1 and a bunch of hashes you should use, like SHA2-256, SHA2-384,
/// and SHA2-512.
/// weak SHA1 and a bunch of hashes you should use, like the SHA2 and SHA3
/// hashes.
pub mod sha;
/// A generic trait for defining what a key pair looks like. This is useful