How do you encrypt a password with hash?

Reply on this topic Since this is where I thoroughly explained my problems -