Are there any interesting connections between the fields of data science and cryptography?

Data science involves the use of statistical analysis to analyze data while cryptography also involves statistics in crypt-analysis in order to protect data. And of course both fields require a lot of math.

So I wonder if there are any interesting links between these two fields.

  • $\begingroup$ Information theory is the parent field, with deep ties to physics. Cryptography is a subset under it involving a variety of techniques involving data security. Data science is a more general field around finding interesting ways to analyze data and various efficient algorithms. Cryptography sometimes uses these algorithms. $\endgroup$
    – Natanael
    Aug 19, 2019 at 20:35
  • $\begingroup$ @Natanael: Cryptography uses mathematics, not data science. $\endgroup$
    – mentallurg
    Aug 20, 2019 at 2:25
  • $\begingroup$ is data science a science? $\endgroup$
    – kodlu
    Aug 20, 2019 at 3:08
  • $\begingroup$ @mentallurg I was probably thinking of computer science rather than data science (I blame my native language, "computer" = "dator"). But data science techniques is still relevant in subfields of cryptography such as privacy preserving techniques like for databases, analytics and anonymization. Side channel resistance and more requires that analytical techniques can't extract sensitive data. $\endgroup$
    – Natanael
    Aug 20, 2019 at 9:04
  • $\begingroup$ I think the most honest answer is: "They are not". $\endgroup$
    – tylo
    Nov 11, 2021 at 13:54

2 Answers 2


If by data science, you mean "machine learning and cie", there is some recent works that made the link between these two hot topics :

For example, some people are trying to do data analysis on encrypted data : https://eprint.iacr.org/2017/1114


If you are asking for examples of interesting connections than my favorite is using Genearative adverserial networks (GANs) in order to invent novel cryptographic primitives.



Not the answer you're looking for? Browse other questions tagged or ask your own question.