support binary messages in sign/verify message