Open-source hash extension

Note: needed for phar support.