Skip to content

Commit deb9104

Browse files
authored
Bump base64ct to v1.5.1 (RustCrypto#317)
This version added a check that encoded Base64 is canonical, i.e. that the decoded value will round-trip back to the encoded value. Some of the test vectors did not have this property and have been fixed.
1 parent 9f06a6f commit deb9104

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

argon2/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ mod tests {
348348
const EXAMPLE_PASSWORD: &[u8] = b"hunter42";
349349

350350
/// Example salt value. Don't use a static salt value!!!
351-
const EXAMPLE_SALT: &str = "examplesalt";
351+
const EXAMPLE_SALT: &str = "examplesaltvalue";
352352

353353
#[test]
354354
fn decoded_salt_too_short() {

balloon-hash/tests/balloon.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ fn hash_simple_retains_configured_params() {
8282
const EXAMPLE_PASSWORD: &[u8] = b"hunter42";
8383

8484
/// Example salt value. Don't use a static salt value!!!
85-
const EXAMPLE_SALT: &str = "examplesalt";
85+
const EXAMPLE_SALT: &str = "examplesaltvalue";
8686

8787
// Non-default but valid parameters
8888
let t_cost = 4;

0 commit comments

Comments
 (0)