A live demo is available on Github pages here
This contains the source code for the crypto_web web site which contains 3 primality tests. Primality tests determine whether a given number is prime and is used as the basis for many cryptography algorithms. The fermat and miller rabin primality tests are probabilistic in nature however when ran for enough inputs they are highly likely to produce a correct result. AKS is the only deterministic algorithm which works in poly time. Hense it is far more complicated than the other two and typically not implemented.
The website itself is written in HTML with flask. Flask freezer is also used to generate a static web page. Rust is also used to compile to webassembly in order to produce a fully static website.
Wikipedia does a great job at describing these tests in detail so I suggest you take a look for further info. You could also look at the code located in src/.
Building instructions are available documentation.md