julien
@julien51.eth
Any ethers/cryptography expert? How bad is that code? https://gist.github.com/julien51/b72db711bda3e940afbe77c96d7d727d I am trying to generate a private key consistently from a secret... (Complicated secret with upper/lower case numbers and symbols!)
3 replies
1 recast
1 reaction
Cassie Heart
@cassie
Going to echo Ric here — hashing passwords directly for use as private keys is a really bad idea, because people tend to not remember strong passwords that can’t get churned out by hardware quickly. Once you hit the equivalent level of entropy of regular seed phrases, well, might as well just go back to mnemonics
3 replies
0 recast
3 reactions
julien
@julien51.eth
Ha! That's indeed a very good point. I should have clarified that this is not meant to be used to hold significant value in the long run... And indeed the user won't choose them.
0 reply
0 recast
0 reaction