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

CryptUtil.cryptString looses leading zeros for bytes #83

Open
BulbITOrg opened this issue Jan 11, 2023 · 0 comments
Open

CryptUtil.cryptString looses leading zeros for bytes #83

BulbITOrg opened this issue Jan 11, 2023 · 0 comments

Comments

@BulbITOrg
Copy link

How to reproduce:
Try to run CryptUtil.cryptString with "aaaa" as input.

Current behavior:
The output is "70c881d4a26984ddce795f6f71817c9cf448e79".

Expected behavior:
The output should be "70c881d4a26984ddce795f6f71817c9cf4480e79"

As a result, it is easy to be "unlucky" with random admin password generation preventing the user from doing the setup procedure.

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

1 participant