Efficient and Secure Equality-based Two-party Computation