Skip to content

Commit

Permalink
Bump pbkdf2 from 0.3.0 to 0.11.0 (#3340)
Browse files Browse the repository at this point in the history
Co-authored-by: LemonHX.eth <[email protected]>
  • Loading branch information
uvd and LemonHX authored Apr 13, 2022
1 parent 293e9e1 commit 9d7fad3
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 77 deletions.
117 changes: 45 additions & 72 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions commons/decrypt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ license = "Apache-2.0"
edition = "2021"

[dependencies]
pbkdf2="0.3"
hmac = "0.7"
sha2 = "0.8"
pbkdf2 = "0.11"
hmac = "0.12.1"
sha2 = "0.10.2"
aes-gcm = "0.9"
rand = "0.8.5"
rand_core = { version = "0.6.3", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion commons/decrypt/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ fn derive_key(derivation_param: &KeyDerivationParams, secret: &[u8]) -> [u8; 32]
pbkdf2::pbkdf2::<hmac::Hmac<sha2::Sha256>>(
secret,
&derivation_param.pbkdf2_salt,
derivation_param.pbkdf2_iterations as usize,
derivation_param.pbkdf2_iterations,
&mut dk,
);
dk
Expand Down
2 changes: 1 addition & 1 deletion vm/stdlib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ move-prover = { git = "https://github.com/starcoinorg/move", rev = "0b4655469084
move-compiler = { git = "https://github.com/starcoinorg/move", rev = "0b4655469084eb2fb6b8a6a7690342d767f05e5b" }
once_cell = "1.10.0"
include_dir = "0.6.2"
sha2 = "0.9.1"
sha2 = "0.10.2"
log = "0.4.16"
simplelog = "0.9.0"
fs_extra = "1.2.0"
Expand Down

0 comments on commit 9d7fad3

Please sign in to comment.