Thank you very much, I thank you very much for your help, I did not know that mirc had integrated the hmac, I thought the error was the use of the dll, it works really well, now to work in the second part ...
Thanks again and best regards.