RAWTONHEX(x) converts the binary number (RAW) x to an NVARCHAR2 string in the equivalent hexadecimal number.
RAWTONHEX(x)
NVARCHAR2
SQL> select RAWTONHEX('A') from dual; RA -- 41 SQL>