use hex string instead of bit array for pub key data