Privacy-preserving social network analysis