Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Randomise the seed #19

Closed
Mat-Moo opened this issue Dec 22, 2022 · 3 comments
Closed

Randomise the seed #19

Mat-Moo opened this issue Dec 22, 2022 · 3 comments
Labels
wontfix This will not be worked on

Comments

@Mat-Moo
Copy link

Mat-Moo commented Dec 22, 2022

After running this a few times, on different environments, I've noted that my first "texhhash" username is always the same random value - seems like need to add some randomisation onto the base?

@ppomes
Copy link
Owner

ppomes commented Dec 22, 2022

Yes, the hashing (hmac 256) is a deterministic algorithm, it will produce the same hash for the same input/secret combination. In my case it was necessary to keep foreign key constraints.

However, if you need pure random, I can add new option in the config file. Let me know!

@ppomes ppomes added the enhancement New feature or request label Jan 2, 2023
@Mat-Moo
Copy link
Author

Mat-Moo commented Jan 5, 2023

Happy new year :) Im not sure it's an issue actually - I guess I was being naive and just thought it would be random random :) I agree it's an enhancement as you have labeled it, don't think hard to implement, but your call :)

@ppomes ppomes added wontfix This will not be worked on and removed enhancement New feature or request labels Apr 15, 2024
@ppomes
Copy link
Owner

ppomes commented Apr 15, 2024

Well not sure random will be very useful. I am closing this issue for now.

@ppomes ppomes closed this as completed Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants