Preserving privacy through cryptography in online behavioural advertising