the expand_message_xmd function as specified in RFC9380; Usage: expand_message_xmd(params)(input)
expand_message_xmd(params)(input)