Those are great sources VoidMain. SAMBA, most obviously, would use NetBIOS to authenticate and would thus use the hashes.
But chntpw? I've never took a peek at the source for that one but I guess that makes sense. It does write the hashes to the SAM so it must know the hash algorithm.
Good thinking. Both use *NIX however. But that shouldn't be much of a problem.
What website am I at again?