Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


convert string to binary then back again using php


convert string to binary then back again using php  using -'php,binary'

Is there a way to convert a string to binary then back again in the standard PHP library?

To clarify what I'm trying to do is store a password on a database. I'm going to convert it first using a hash function then eventually store it as binary.



I've found the best way is to use this function. Seems to hash and output in binary at the same time.

http://php.net/manual/en/function.hash-hmac.php
    

asked Sep 30, 2015 by deepak
0 votes
4 views



Related Hot Questions



Government Jobs Opening


...