PBKDF2-HMAC-SHA-512 test vectors

后端 未结 3 659
耶瑟儿~
耶瑟儿~ 2020-12-16 16:53

I have not been able to find published test vectors for PBKDF2-HMAC-SHA-512. I\'ve built a function that (finally!) reproduces the 7 HMAC-SHA-512 test vectors in RFC 4231,

3条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-16 17:44

    I was able to verify all results against one I created

    With another run to verify my own results, I verified P = "password" S = "salt" c = 4096 dkLen = 64 with a BouncyCastle implementation that was copy/pasted from SO

    Thank you so much for posting test vectors. I hope more people will verify

提交回复
热议问题