input compute and compare hash results to database