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

BCrypt Anonymizer #183

Open
thekevinbrown opened this issue Feb 1, 2023 · 1 comment
Open

BCrypt Anonymizer #183

thekevinbrown opened this issue Feb 1, 2023 · 1 comment

Comments

@thekevinbrown
Copy link
Contributor

Is your feature request related to a problem? Please describe.
My database has passwords that are salted and hashed with BCrypt. Currently I'm using the random characters anonymization, but when developers look at the anonymized database, they think we're using a different hashing mechanism because they see hexadecimal.

Describe the solution you'd like
If a BCRYPT anonymizer existed, it could output strings like: $2<a/b/x/y>$[cost]$[22 base64 characters][31 base64 characters]

Describe alternatives you've considered
I could configure the characters in the current anonymizers to use the full base64 set, but that still wouldn't look like a BCrypt hash to the developers.

Additional context
I'd be happy to PR this back in if there's interest!

@realrolfje
Copy link
Owner

Interesting idea! I'd be happy to merge a pull request with BCrypt anonymizer if fits nicely into the other anonymizers.

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

No branches or pull requests

2 participants