Secure Remote Password explained for mere mortals Discrete Logarithm Most SRP calculations happen in the group of integers modulo a large number N. Basically whenever a number x grow beyond N you use x mod N instead.