during christmas I was thinking about a way to produce my own brainwallets. You find the code below
https://github.com/curiosity81/brainwallet.
Clearly, code can also be used to produce more secure brainwallets. E.g. hashing a string more than once and a brute force approach is virtually useless.
A Brain Wallet is the one when user remembers their mnemonic phrase or the private key and never writes it down. That is, all is stored in the brain only for security reasons.
So why have a brain wallet and still write you private key or mnemonic phrase down on a piece of paper?
To me brain wallet is not good because it is difficult to manage in case the user forgets his/her mnemonic paraphrase or private key due to any mishap such as accidents, brain diseases/ damage or even mental stress, he /she will lose his/her crypto-coins and funds.