Hi All,
Before few days I got a requirement from a client to form one url to call one webservice. One of the params was to be processed by sha256 and base 64.
--> the prior requirement was to give stringToBeHashed and key as input params. I set this two params for the input of sha256 method. It was working fine, I also checked my code with online converters also.
--> Now the problem is that he wants the output data in raw binary output format about which I don't know. As per his instruction and my info this is the only one line code in PHP as following :
Let me also give you example of output he wants.
stringToBeHashed --> ABCDEF
key --> 123
output --> t����Y�m@�����k/gba۫�6���M (this is what I want to get)
And what I'm and all tools are getting is --> 56c2201a9c7a4eaeaf3664724d42b678b10d03ce73e5e72a526d45f1daa53d97
the code which currently I use is,
will any one can help me out to solve this ?