在php中哈希一个字符串

This is the hashed output "bWNgAQW2FLc" I want to possibly hash a specific string into that. Is there any method or coding that can possibly do the work?

Thank you very much for the replies!

PS: I do not know what hash type is that in the first place

You can do this Using Simple inbuild Hash Function Available in PHP

<?php
  echo hash('ripemd160', 'Your text goes here');
?>

Source http://php.net/manual/en/function.hash.php