mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
b2sum: changed british spelling for american spelling
This commit is contained in:
parent
a9e65e881c
commit
c4d637125c
1 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ fn detect_algo(
|
||||||
crash!(1, "Invalid length (maximum digest length is 512 bits)")
|
crash!(1, "Invalid length (maximum digest length is 512 bits)")
|
||||||
}
|
}
|
||||||
|
|
||||||
// --length=0 falls back to default behaviour
|
// --length=0 falls back to default behavior
|
||||||
if *length_in_bits == 0 {
|
if *length_in_bits == 0 {
|
||||||
return ("BLAKE2", Box::new(Blake2b::new()) as Box<dyn Digest>, 512);
|
return ("BLAKE2", Box::new(Blake2b::new()) as Box<dyn Digest>, 512);
|
||||||
}
|
}
|
||||||
|
@ -88,7 +88,7 @@ fn detect_algo(
|
||||||
crash!(1, "Invalid length (expected a multiple of 8)")
|
crash!(1, "Invalid length (expected a multiple of 8)")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// by default, blake2 uses 64bytes (512 bits)
|
// by default, blake2 uses 64 bytes (512 bits)
|
||||||
None => ("BLAKE2", Box::new(Blake2b::new()) as Box<dyn Digest>, 512),
|
None => ("BLAKE2", Box::new(Blake2b::new()) as Box<dyn Digest>, 512),
|
||||||
},
|
},
|
||||||
"b3sum" => ("BLAKE3", Box::new(Blake3::new()) as Box<dyn Digest>, 256),
|
"b3sum" => ("BLAKE3", Box::new(Blake3::new()) as Box<dyn Digest>, 256),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue