Beispiele
using input field for base
Eingabe
5Expected answer
JSON6- Basis
(empty)- Modulus
7- Exponent
3
using input field for exponent
Eingabe
4Expected answer
JSON5- Basis
2- Modulus
11- Exponent
(empty)
base one
Eingabe
Expected answer
JSON1- Basis
1- Modulus
1000- Exponent
999
basic example (2^10 mod 1000)
Eingabe
Expected answer
JSON24- Basis
2- Modulus
1000- Exponent
10
crypto-sized numbers (RSA-2048 simulation)
Eingabe
Expected answer
JSON1- Basis
12345678901234567890123456789012345678901234567890- Modulus
99999999999999999999999999999999999999999999999999- Exponent
0
exponent zero
Eingabe
Expected answer
JSON1- Basis
999- Modulus
100- Exponent
0
Fermat's Little Theorem (a^(p-1) mod p = 1)
Eingabe
Expected answer
JSON1- Basis
3- Modulus
11- Exponent
10
hexadecimal input
Eingabe
Expected answer
JSON256- Basis
0x10- Modulus
1000- Exponent
0x2
large base and exponent
Eingabe
Expected answer
JSON560583526- Basis
123456789- Modulus
1000000007- Exponent
65537
RSA-like example (small)
Eingabe
Expected answer
JSON561- Basis
123- Modulus
1000- Exponent
456
Parameter
| Parameter | Standardwert | Eingabe und Auswahl |
|---|---|---|
| Basis | "" | Text |
| Modulus | "1" | Text |
| Exponent | "" | Text |