|
79 | 79 | //! - PBKDF2 ([RFC 8018](https://datatracker.ietf.org/doc/html/rfc8018#section-5.2)) |
80 | 80 | //! - SHA-2 based PRF with HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, or HMAC-SHA512 |
81 | 81 | //! - SHA-1 based PRF with HMAC-SHA1, when the `sha1` feature of this crate is enabled. |
82 | | -//! - Symmetric encryption: AES-128-CBC, AES-192-CBC, or AES-256-CBC (best available options for PKCS#5v2) |
| 82 | +//! - Symmetric encryption: AES-128-CBC, AES-192-CBC, or AES-256-CBC |
| 83 | +//! (best available options for PKCS#5v2) |
83 | 84 | //! |
84 | | -//! # DES-CBC and DES-EDE3-CBC (3DES) Support |
85 | | -//! When the `des-insecure` and `3des` features are enabled this crate provides support for Private Keys encrypted |
86 | | -//! with DES-CBC and DES-EDE3-CBC (3DES or Triple DES) symmetric encryption, respectively. |
| 85 | +//! ## Legacy DES-CBC and DES-EDE3-CBC (3DES) support (optional) |
| 86 | +//! When the `des-insecure` and/or `3des` features are enabled this crate provides support for |
| 87 | +//! private keys encrypted with with DES-CBC and DES-EDE3-CBC (3DES or Triple DES) symmetric |
| 88 | +//! encryption, respectively. |
87 | 89 | //! |
88 | | -//! **WARNING** |
| 90 | +//! ⚠️ WARNING ⚠️ |
89 | 91 | //! |
90 | | -//! DES support is implemented to allow for decryption of legacy files. DES is considered insecure due to |
91 | | -//! its short key size and SHOULD NOT be used for new keys. The algorithms implemented under the `encryption` |
92 | | -//! feature should be used where possible. |
93 | | -//! |
94 | | -//! **WARNING** |
| 92 | +//! DES support is implemented to allow for decryption of legacy files. |
95 | 93 | //! |
| 94 | +//! DES is considered insecure due to its short key size. New keys should use AES instead. |
96 | 95 | //! |
97 | 96 | //! # PKCS#1 support (optional) |
98 | 97 | //! When the `pkcs1` feature of this crate is enabled, this crate provides |
|
113 | 112 | #![doc( |
114 | 113 | html_logo_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg", |
115 | 114 | html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg", |
116 | | - html_root_url = "https://docs.rs/pkcs8/0.7.5" |
| 115 | + html_root_url = "https://docs.rs/pkcs8/0.7.6" |
117 | 116 | )] |
118 | 117 | #![forbid(unsafe_code, clippy::unwrap_used)] |
119 | 118 | #![warn(missing_docs, rust_2018_idioms, unused_qualifications)] |
|
0 commit comments