Passwords with a mixture of letters, numbers, and special characters are sometimes hard to remember. Is it secure to instead use a small amount of memorable source code as a 'passphrase'?
As an example, take a simple for loop in Go: fori:=1;i<5;i++{fmt.Println(i)}
Normal people would only see the cryptic syntax, but as a person with a programming background, this may be more easy to memorize. Would it be at least as secure as a normal password?
fori:=1;i<5;i++{fmt.Println(i)}
on the Internet, it has been added to the "dictionaries" of many password crackers — just like, despite its intrinsic entropy/strength, "correct horse battery staple" is a bad password, because everybody knows to try it. But Chloe misread the question, which asks, "Is it secure to use a small amount of memorable source code as a 'passphrase'? As an example, take ..." – Scott yesterday