I learn cryptography at my university, and I need to make an application for testing numbers as prime numbers.
I must to do it using Lehmann Test, but I don’t know anything about it. Please, describe me the algorithm or give me an example (Java, C#, C++, etc). Thank you for helping.
Let’s call PP your Potential Prime.