I thought \ o / - Installing the PCLCrypto from Nuguet (when installing, the Validation assembly must be appearing in the reference list, otherwise install manually by entering the PCLCrypto folder). just send that code there and success!
public string CreateHash(string date, string userId) {
IMacAlgorithmProvider mac = WinRTCrypto.MacAlgorithmProvider.OpenAlgorithm(MacAlgorithm.HmacSha512);
byte[] keyMaterial = WinRTCrypto.CryptographicBuffer.ConvertStringToBinary(date, crypto.Encode());
ICryptographicKey cryptoKey = mac.CreateKey(keyMaterial);
byte[] hash = WinRTCrypto.CryptographicEngine.Sign(cryptoKey, WinRTCrypto.CryptographicBuffer.ConvertStringToBinary(userId, Encoding.UTF8));
StringBuilder hashHMAC = new StringBuilder();
for (int i = 0; i < hash.Length; i++) {
hashHMAC.Append(hash[i].ToString("X2"));
}
return hashHMAC.ToString();
}