Re: Trouble generating SHA1 HMAC

2014-07-14 Thread Steven Côté
> The command line is using salt as the HMAC key and "password" as the data to > be HMACed while your program has those reversed. Funny thing is, this is all part of trying to build a PBKDF2 implementation, but the way I read the RFC regarding the calculation of U_1, I was certain that the comma

Re: Trouble generating SHA1 HMAC

2014-07-14 Thread Dr. Stephen Henson
On Mon, Jul 14, 2014, Steven Ct wrote: > I've been playing around with OpenSSL and I'm trying to accomplish the same > thing via two different interfaces. The trouble is that it's returning me > two different hashes, and I was hoping someone here might be able to > explain to me why they're differ

Trouble generating SHA1 HMAC

2014-07-14 Thread Steven Côté
I've been playing around with OpenSSL and I'm trying to accomplish the same thing via two different interfaces. The trouble is that it's returning me two different hashes, and I was hoping someone here might be able to explain to me why they're different. Attempt 1: Command Line $ echo -n 'passwor