If Textbox.Text = "Bruce Wayne"
Function "WhateverYouWantToClaim"
mrtumbles , Why the heck would he write a hash function
1) Making your own hash function is unpractical and will take you a lot of time to get right in a way that the user can't read easily, there are plugins for hash functions
2) Why would he even need a hash function, he wants a password system like in the old NES games (I assume)