Added hex dump in signature encoding