Defeating some privacy issues with zero-knowledge proofs