Hello,
how can I do this :
Dim hmac = New HMACSHA256(Encoding.UTF8.GetBytes(token)) Dim sha256 = New SHA256Managed Dim sig = Convert.ToBase64String(hmac.ComputeHash(sha256.ComputeHash(data)))
When I am developing a windows store app ?
Steve
thanks for the links. I already had them :
http://msdn.microsoft.com/en-us/library/windows/apps/windows.security.cryptography.core.macalgorithmprovider.openalgorithm(v=win.10).aspx
http://msdn.microsoft.com/en-us/library/windows/apps/windows.security.cryptography.core.hashalgorithmprovider.openalgorithm(v=win.10).aspx
It stills doesn't answer the question.
how can I replace these simple 3 lines ?
should I now write 100 lines and hire a cryptography specialist ?