S
S
Sergey2017-01-22 19:38:02
PHP
Sergey, 2017-01-22 19:38:02

How to hash in md5 php?

I do hashing via md5, but I get the wrong hash

$strew = '008038-0001-0001-1.00-11111111111';
 echo md5($strew);

I get
242fbb0eea67130ab057405c02bf4db4
but I need
0457e066f5213b4842d2d3b1725b355d
as through online service
What is the reason?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Argumentus, 2017-01-22
@Argumentus

I don’t know how you do it, it gives me: 0457e066f5213b4842d2d3b1725b355d

S
Sergey, 2017-01-22
@alekskondr

I apologize everyone for wasting your time!
During development, I wrote a lot of unnecessary code and it turned out to be a mess.
Now everything is fine!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question