A model for assessing the risk of revealing shared secrets in social networks