Use 4x4 buttons as password

I would suggest that you print the value of Data and length of Data before the compare.