Exemples
using input field for base
Entrée
5Expected answer
JSON6- Base
(empty)- Modulus
7- Exposant
3
using input field for exponent
Entrée
4Expected answer
JSON5- Base
2- Modulus
11- Exposant
(empty)
base one
Entrée
Expected answer
JSON1- Base
1- Modulus
1000- Exposant
999
basic example (2^10 mod 1000)
Entrée
Expected answer
JSON24- Base
2- Modulus
1000- Exposant
10
crypto-sized numbers (RSA-2048 simulation)
Entrée
Expected answer
JSON1- Base
12345678901234567890123456789012345678901234567890- Modulus
99999999999999999999999999999999999999999999999999- Exposant
0
exponent zero
Entrée
Expected answer
JSON1- Base
999- Modulus
100- Exposant
0
Fermat's Little Theorem (a^(p-1) mod p = 1)
Entrée
Expected answer
JSON1- Base
3- Modulus
11- Exposant
10
hexadecimal input
Entrée
Expected answer
JSON256- Base
0x10- Modulus
1000- Exposant
0x2
large base and exponent
Entrée
Expected answer
JSON560583526- Base
123456789- Modulus
1000000007- Exposant
65537
RSA-like example (small)
Entrée
Expected answer
JSON561- Base
123- Modulus
1000- Exposant
456
Paramètres
| Paramètre | Valeur par défaut | Entrée et choix |
|---|---|---|
| Base | "" | Texte |
| Modulus | "1" | Texte |
| Exposant | "" | Texte |