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
RicMoo.eth
@ricmoo
Bad. I recall live demos of “brain wallets” being drained of BTC in like 2014, I’m sure it’s worse now. At least use significant key-stretching with scrypt. Check out: https://en.bitcoin.it/wiki/Brainwallet#Obsolete_Brainwallet_Style
1 reply
0 recast
3 reactions
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
Greg
@greg
ethers expert → @ricmoo cryptography expert → @cassie
0 reply
0 recast
3 reactions