Comparing data inside SD card with user Input

I'm trying to compare a hexadecimal value.
If you need more info send me a message and I'll provide it to you.