We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, the initial seed for key generation is padded with ASCII '0'. As a result, seeds like node1 and node10 produce the same key and peerID.
node1
node10
A simple fix is to pad the seed with ASCII null (\x00). A better solution is to use a dedicated padding algorithm such as PKCS#7
ALL
No response
N/A
The text was updated successfully, but these errors were encountered:
magnified103
Successfully merging a pull request may close this issue.
Description
Currently, the initial seed for key generation is padded with ASCII '0'. As a result, seeds like
node1
andnode10
produce the same key and peerID.A simple fix is to pad the seed with ASCII null (\x00). A better solution is to use a dedicated padding algorithm such as PKCS#7
Version
ALL
Reproduction URL
No response
Reproduction steps
Screenshots
Logs
Browsers
No response
OS
No response
The text was updated successfully, but these errors were encountered: