Understanding privacy risk with k-anonymity and l-diversity