Skip to content

Support fixed seed#131

Merged
tkaitchuck merged 4 commits intotkaitchuck:masterfrom
emilk:support-fixed-seed
Oct 25, 2022
Merged

Support fixed seed#131
tkaitchuck merged 4 commits intotkaitchuck:masterfrom
emilk:support-fixed-seed

Conversation

@emilk
Copy link
Copy Markdown
Contributor

@emilk emilk commented Oct 14, 2022

Closes #126

This allows us to compile without either runtime-rng nor compile-time-rng (--no-default-features --features std).

Compiling without these flags will make ahash non-DOS-resistant.

This is meant for libraries (like egui) that

  • Don't need DOS-resistance
  • Don't want the added dependencies and compilation times of compile-time-rng
  • Don't want to force either runtime-rng or compile-time-rng onto the library users
  • Don't want to give users confusing error messages about missing getrandom when compiling for wasm32

@emilk emilk marked this pull request as ready for review October 14, 2022 07:58
@emilk emilk force-pushed the support-fixed-seed branch from 307f5a6 to 276b6bb Compare October 14, 2022 08:02
@tkaitchuck tkaitchuck self-requested a review October 25, 2022 06:11
@tkaitchuck tkaitchuck merged commit 8174160 into tkaitchuck:master Oct 25, 2022
@emilk
Copy link
Copy Markdown
Contributor Author

emilk commented Oct 25, 2022

❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Simple, Non-DOS-resistent seed

2 participants