How to set share secret in binary value?