julien pfp
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 pfp
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

julien pfp
julien
@julien51.eth
Thanks Richard! It's fire something like this though: https://unlock-protocol.com/blog/password-required-hook do not meant to store value, but just a way to ensure onchain that someone knows of a secret.
0 reply
0 recast
1 reaction