Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
redox-os
seahash
Commits
703e3f06
Commit
703e3f06
authored
Jan 31, 2020
by
Tom Almeida
Browse files
stream: make SeaHasher use same seeds as hash()
parent
d52d115a
Pipeline
#6923
passed with stage
in 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/stream.rs
View file @
703e3f06
...
...
@@ -18,7 +18,7 @@ pub struct SeaHasher {
impl
Default
for
SeaHasher
{
fn
default
()
->
SeaHasher
{
SeaHasher
::
with_seeds
(
0x
e7b0c93ca8525013
,
0x011d02b854ae8182
,
0x7bcc5cf9c39cec76
,
0xfa336285d102d083
)
SeaHasher
::
with_seeds
(
0x
16f11fe89b0d677c
,
0xb480a793d8e6c86c
,
0x6fe2e5aaf078ebc9
,
0x14f994a4c5259381
)
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment