pub fn sign_with_key(key: &[u8], data: &[u8]) -> Result<String, ErrorStack>
Sign some data with a key and return the hex representation