How to use PKCS5_PBKDF2_HMAC_SHA1()
I am trying to use PKCS5_PBKDF2_HMAC_SHA1() and below is my sample program. I wanted to make sure if my result of PKCS5_PBKDF2_HMAC_SHA1() is correct so I verified the same with the website http://anandam.name/pbkdf2/ and I see a different result. Am I using the API correctly? I am having doubts if I am passing salt value correctly. I have pasted my result and website result after the program. Please help me understand this. #include <stdio.h> #include <types.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <malloc.h> #include <openssl/hmac.h> #include <openssl/evp.h>