Add functionality to create private key from a hex string