change wording
This commit is contained in:
parent
2249cbdc7b
commit
0ce65b7a39
|
@ -41,7 +41,7 @@
|
|||
"$$a^{2x} = (a^x)^2$$\n",
|
||||
"$$a^{2x+1} = a(a^x)^2$$\n",
|
||||
"$$ab \\bmod{m} = (a \\bmod{m})(b \\bmod{m}) \\bmod{m}$$\n",
|
||||
"The first two properties allows us to recursively break up a large power into two products (if the exponent is even) or three products (if the exponent is odd), a process known as [exponentiation by squaring](https://en.wikipedia.org/wiki/Exponentiation_by_squaring). The third property then allows us to distribute the modulus over multiplication. In tandem, these properties allow us to compute large powers with fewer multiplications, while also using less memory by keeping intermediate values small.\n",
|
||||
"The first two properties allows us to recursively break up a large power into two multiplications (if the exponent is even) or three multiplications (if the exponent is odd), a process known as [exponentiation by squaring](https://en.wikipedia.org/wiki/Exponentiation_by_squaring). The third property then allows us to distribute the modulus over multiplication. In tandem, these properties allow us to compute large powers with fewer multiplications, while also using less memory by keeping intermediate values small.\n",
|
||||
"\n",
|
||||
"Interestingly, there is no known efficient algorithm for reversing this calculation, i.e. computing the [discrete logarithm](https://en.wikipedia.org/wiki/Discrete_logarithm).\n",
|
||||
"\n",
|
||||
|
|
Loading…
Reference in New Issue