PointyCastle / pointycastle

Moved into the Bouncy Castle project: https://github.com/bcgit/pc-dart
MIT License
270 stars 76 forks source link

HMAC tests cases from RFC 4231 #210

Closed hoylen closed 4 years ago

hoylen commented 4 years ago

These are some tests of HMAC using test vectors from RFC 4231 Identifiers and Test Vectors for HMAC-SHA-224, HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512.

I was using them to make sure I was using the libraries properly. They probably should be a part of the Pointy Castle tests, since they are known results which are officially correct.

stevenroose commented 4 years ago

This is awesome. I'm just gonna merge this while I don't hear from Bouncy Castle about the takeover.

Thanks!