updated and documented Hasher.php