[Security] Adding bin2hex convert

If we want to get a hexadicimal unique String. I've added a bin2hex boolean parmaters to convert binary bytes in hexadecimal.