Hey guys, I picked a project to use to learn Dart and I can't tell if I'm missing something or there is unexpected behavior in the HMAC class. Can anyone else see something I'm doing wrong here?
Trying to do a hmac/sha-512 hex digest of a string for an authentication header and I'm having trouble getting the expected result. I'm also seeing the output change after the first invocation, even with fresh hmac objects and buffers.
From @thedoctor on May 12, 2015 4:24
Hey guys, I picked a project to use to learn Dart and I can't tell if I'm missing something or there is unexpected behavior in the HMAC class. Can anyone else see something I'm doing wrong here?
Trying to do a hmac/sha-512 hex digest of a string for an authentication header and I'm having trouble getting the expected result. I'm also seeing the output change after the first invocation, even with fresh hmac objects and buffers.
Python control test:
Copied from original issue: izaera/cipher#93