# Is it secure to use hexadecimal data for IV instead of raw binary?

Is it safe and secure to use a function like bin2hex (which converts binary data to hexadecimal) on the binary output of functions like openssl_random_pseudo_bytes and mcrypt_create_iv?

Meaning: can I use the hexadecimal output instead of the raw binary data, or is there some kind of security risk involved when doing so?