accept private keys in hex format