Merge pull request #1198 from freewil/do_hash

use php's hash() function for do_hash() helper