Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hashing a string in php

Tags:

php

hash

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

like image 308
CedeeCQ Avatar asked Apr 18 '26 06:04

CedeeCQ


1 Answers

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

like image 50
Precious Tom Avatar answered Apr 20 '26 19:04

Precious Tom