pub fn create_signing_message(data: impl AsRef<[u8]>) -> Message {
	// Both the Stacks prefix and the data need to be preceded by their length
	let msg_content: Vec<u8> = iter::empty()
		.chain(iter::once(STACKS_SIGNATURE_PREFIX.len() as u8))
		.chain(STACKS_SIGNATURE_PREFIX.iter().copied())
		.chain(iter::once(data.as_ref().len() as u8))
		.chain(data.as_ref().iter().copied())
		.collect();

	Message::from_slice(Sha256Hasher::new(msg_content).as_ref())
		.expect("Could not create secp message")
}
Creates the SECP signing message. It prepends the data with the
[`STACKS_SIGNATURE_PREFIX`] that is used by convention.
sbtc-core/src/operations/op_return/withdrawal_request.rs