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

[SECURITY] Hardcode the password in DigestTypeBenchmark #3058

Closed
AliIoT opened this issue Feb 16, 2022 · 1 comment
Closed

[SECURITY] Hardcode the password in DigestTypeBenchmark #3058

AliIoT opened this issue Feb 16, 2022 · 1 comment

Comments

@AliIoT
Copy link

AliIoT commented Feb 16, 2022

final byte[] password = "password".getBytes(StandardCharsets.UTF_8);

Is it ok to hardcode the password in DigestTypeBenchmark? It seems to be a benchmark class, won't use in production. Am I right?
Thanks for your help.

@dlg99
Copy link
Contributor

dlg99 commented Feb 18, 2022

Correct, this is just for the benchmarks.

@dlg99 dlg99 closed this as completed Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants