I am writing an IA on the math behind RSA encryption, but I am struggling to find topics in the SL curriculum that I can apply to RSA encryption. I was considering using perms and combs/stats and prob but I can't find that much info on either. Any help or pointers would be much appreciated.