I don't think you know your terminology correctly. If you're using the term "white hat" by its explicit definition, you mean a "positive" hacker, in which case ASM, MASM, C, C++, VB6, VB.NET and PHP are almost all necessary.
If you just want to become a well-rounded coder, which is what I'm assuming by the replies of this thread, learn each of the kingpins of each category.
For extremely low level, MASM. For low level, C/C++. For high level, C# and Java. For web, PHP and ASP.NET - HTML5/JS is now also becoming relevant.