Top "Hmac" questions

In cryptography, HMAC (Hash-based Message Authentication Code) is a specific construction for calculating a message authentication code (MAC) involving a cryptographic hash function in combination with a secret key.

How to calculate HMAC-SHA1 authentication code in .NET 4.5 Core

I’m currently facing a big problem (Environment: .NET 4.5 Core): We need to protect a message with a key using …

c# .net cryptography hmac hmacsha1
Erlang calculating HMAC-SHA1 example?

Any examples or libraries to caculate HMAC-SHA1 in Erlang? I tried Crypto Module, but apparently doesn't match exactly. Any examples?

erlang sha1 hmac
Android HMAC-SHA1 Different than Standard Java HMAC-SHA1

I'm having issues with some HMAC on android. I am using the SHA1 algorithm with the following code which shows …

java android sha1 hmac
What is the C# equivalent of the Java SecretKeySpec

I have following code written in Java Mac mac = Mac.getInstance("HmacSHA1"); String secretKey ="sKey"; String content ="Hello"; byte[] secretKeyBArr = …

java c# cryptography sha1 hmac
c# and java - difference between hmacsha256 hash

I have the following code in Java: byte[] secretKey = secretAccessKey.getBytes("UTF-8"); SecretKeySpec signingKey = new SecretKeySpec(secretKey, "HmacSHA256"); Mac mac = …

c# java encryption hmac sha256
HMAC SHA256 in Swift 4

I have a string and a key, which i want to generate an HMAC SHA256 from it. Although i'm using 2 …

swift cryptography swift4 hmac cryptoswift
PBKDF2 with HMAC in Java

I am working on a Java project where I must ensure the confidentiality and integrity of users password saved in …

passwords java password-policy pbkdf2 hmac
Getting current MachineKey, or equivilent, for HMAC (in web-farm)

I am using HMACSHA256 for message authentication in a web-farm environment. Within the web-farm each machine has the same machine …

c# hmac web-farm machinekey
How much can you truncate a SHA1 hash and be reasonably sure of having an unique ID?

I am making an application that stores documents and gives each one a UID based on a SHA1 digest of …

algorithm probability sha1 hmac
Generate HMAC-SHA256 hash with BouncyCastle

I need to generate a HMAC-SHA256 hash in a PCL (developing for Xamarin Forms) which doesn't support the .NET built-in …

c# .net bouncycastle sha256 hmac