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

private key security #44

Closed
hcocoa opened this issue Oct 14, 2022 · 3 comments
Closed

private key security #44

hcocoa opened this issue Oct 14, 2022 · 3 comments

Comments

@hcocoa
Copy link

hcocoa commented Oct 14, 2022

Just read about profanity incident.

Please check

const randbytes = randomBytes(32);

Does this project have the similar problem? Is 32 bytes enough for a private key?

@bokub
Copy link
Owner

bokub commented Oct 14, 2022

Does this project have the similar problem?

No, it doesn't have a similar problem

Is 32 bytes enough for a private key?

32 bytes is literally the size of a Ethereum private key, so yes, it's enough and could not be higher even if I wanted to.

Profanity uses 32 bit seeds, which is the same as 4 bytes.

Please read #43 for more details

@bokub bokub closed this as completed Oct 14, 2022
@hcocoa
Copy link
Author

hcocoa commented Oct 14, 2022

thanks for the reply

@hcocoa hcocoa closed this as completed Oct 14, 2022
@Favourjacobmudiaga
Copy link

Good

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

3 participants