This is in C btw.
I'm using the open.ssl lib to find the key value for an encrypted string for an encrpytion.
I know that the expected output for the encrypted string is some hex value
http://www.openssl.org/docs/crypto/EVP_EncryptInit.htmlFollowing the above link, encrytpupdate places the cipher into an unsigned char value.
I have to compare the expected output to the cipher output to see if the keys correct, by going byte by byte, (aka does the expected output match the output from the cipher)
Question :- : Kinda confused on how to take the expected hex output and compare it to the unsigned char cipher output. Like how are you supposed to compare them byte by byte?
This post was edited by lopelurag on Sep 26 2014 02:55pm