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.

Why the hashlib and hmac are generating different hash values?

In Python 2.7, my = "my" key = "key" print(hashlib.sha256(my + key).hexdigest()) print(hmac.new(my, key, hashlib.sha256).hexdigest()) …

python hmac hashlib
How do I sign a POST request using HMAC-SHA512 and the Python requests library?

I'm trying to use Python to access the trading API at poloniex.com, a cryptocurrency exchange. To do this I …

python python-requests hmac
PBKDF2-HMAC-SHA1

To generate a valid pairwise master key for a WPA2 network a router uses the PBKDF2-HMAC-SHA1 algorithm. I understand …

sha1 hmac pbkdf2
Generate HMAC SHA256 hash using key in C++

I am looking for some function or a way that would return HMAC SHA256 hash in C++ using secret key. …

c++ sha256 hmac
HMAC-SHA256 in Delphi

I need to generate HMAC-SHA256 signatures for the Amazon web services API. The old DCPcrypt library has sha256 routines but …

delphi amazon-web-services hmac
AES256 CBC + HMAC SHA256 ensuring confidentiality *and* authentication?

I'm thinking of using AES256 CBC + HMAC SHA-256 as a building block for messages that ensures both confidentiality and authentication. …

security cryptography hmac aes
Using HMAC-SHA1 for API authentication - how to store the client password securely?

In a RESTful API that uses S3-style authentication, the API client signs the request with his secret key using …

security encryption password-protection hmac
Verifying hmac sha1 signature in Java

I'd like to know how I could verify the signature I created. My code to create a signature looks similar …

java digital-signature hmac hmacsha1
Library for generating HMAC-SHA1 OAuth signature on Android?

Using the specifications below I need to create an oauth_signature on Android. I'm looking for a library that handles …

java android oauth sha1 hmac
Is there any function for creating Hmac256 string in android?

Is there any function for creating Hmac256 string in android ? I am using php as my back end for my …

android hmac hmacsha1