File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -166,9 +166,9 @@ pub fn match_algorithm<S: AsRef<str>>(
166166 "sha512_256" | "sha512-256" | "sha512/256" => {
167167 Ok ( calculator:: SupportedAlgorithm :: SHA512_256 )
168168 }
169- "xxhash32" => Ok ( calculator:: SupportedAlgorithm :: XXHASH32 ) ,
170- "xxhash64" => Ok ( calculator:: SupportedAlgorithm :: XXHASH64 ) ,
171- "xxhash3_64" | "xxhash3-64" | "xxhash3/64" => {
169+ "xxhash32" | "xxh32" => Ok ( calculator:: SupportedAlgorithm :: XXHASH32 ) ,
170+ "xxhash64" | "xxh64" => Ok ( calculator:: SupportedAlgorithm :: XXHASH64 ) ,
171+ "xxh3_64" | "xxh3-64" | "xxh3/64" | " xxhash3_64" | "xxhash3-64" | "xxhash3/64" => {
172172 Ok ( calculator:: SupportedAlgorithm :: XXHASH3_64 )
173173 }
174174 _ => Err ( format ! ( "Error: Unsupported algorithm: {}" , algorithm) ) ,
You can’t perform that action at this time.
0 commit comments