forked from erickt/rustcrypto
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
34 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,13 @@ | ||
This package provides Rust bindings for the functionality exposed by OpenSSL's | ||
libcrypto. Currently provided: | ||
libcrypto. OpenSSL 1.0.1 or higher is required. Currently provided: | ||
|
||
* Hashes (hash.rs) | ||
* MD5 | ||
* Hash functions (hash.rs) | ||
* SHA-512, SHA-384, SHA-256, SHA-224 | ||
* SHA-1 | ||
* SHA-2 (224, 256, 384, 512) | ||
* MD5 | ||
* Symmetric crypto (symm.rs) | ||
* AES-128 or AES-256 in ECB or CBC mode | ||
* AES-128 and AES-256 (ECB, CBC, CTR or GCM mode) | ||
* RC4-128 | ||
* Keypair generation (pkey.rs) | ||
* RSA, all key lengths | ||
* Asymmetric encryption (pkey.rs) | ||
* RSA with PKCS #1 OAEP padding or PKCS #1 v1.5 padding | ||
* Digital signatures (pkey.rs) | ||
* RSA with PKCS #1 v1.5 padding and any supported hash | ||
|
||
Each module provides two interfaces: a low-level API which wraps the OpenSSL | ||
interfaces as directly as possible and a high-level API which presents the | ||
OpenSSL API as a Rust object and tries to make sensible default choices about | ||
parameters most users won't care about. You probably want to use the high-level | ||
API. For documentation on these, see the individual source files. | ||
* RSA (pkey.rs) | ||
* Encryption with PKCS #1 OAEP padding or PKCS #1 v1.5 padding | ||
* Signatures with PKCS #1 v1.5 padding and any supported hash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters