Remove unnecessary secure_compare method