Skip to content

Commit 32aacd7

Browse files
Update crates/bitwarden-crypto/src/safe/password_protected_key_envelope.rs
Co-authored-by: Thomas Avery <[email protected]>
1 parent 7848fa6 commit 32aacd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/bitwarden-crypto/src/safe/password_protected_key_envelope.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ use crate::{
2121
/// does so by using a Key Derivation Function (KDF), to increase the difficulty of brute-forcing
2222
/// the password.
2323
///
24-
/// The KDF parameters such as iterations and salt are stored in the key-envelope and do not have to
24+
/// The KDF parameters such as iterations and salt are stored in the envelope and do not have to
2525
/// be provided.
2626
///
27-
/// Internally, Argon2 as the KDF, and XChaCha20-Poly1305 are used to encrypt the message.
27+
/// Internally, Argon2 is used as the KDF and XChaCha20-Poly1305 is used to encrypt the key.
2828
pub struct PasswordProtectedKeyEnvelope<Ids: KeyIds> {
2929
_phantom: PhantomData<Ids>,
3030
cose_encrypt: coset::CoseEncrypt,

0 commit comments

Comments
 (0)