Function no longer work on hex encoded strings but on binary.