Skip to content

Commit

Permalink
Merge pull request #24 from 1ambd4/fix/encryption
Browse files Browse the repository at this point in the history
fix(encryption): typo
  • Loading branch information
mrxiaozhuox authored Dec 11, 2023
2 parents bdb5636 + 4c97c3a commit 41371e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/algos/cryptography/encryption.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fn main() -> Result<(), Unspecified> {
println!("PBKDF2 hash: {}", HEXUPPER.encode(&pbkdf2_hash));
// `verify` 检查哈希是否正确
let should_`succeed = pbkdf2::verify(
let should_succeed = pbkdf2::verify(
pbkdf2::PBKDF2_HMAC_SHA512,
n_iter,
&salt,
Expand All @@ -54,4 +54,4 @@ fn main() -> Result<(), Unspecified> {
Ok(())
}
```
```

0 comments on commit 41371e0

Please sign in to comment.