updating createPasswordHash to swap out the default based on PHP version

references issue #3