programmingbitcoin
programmingbitcoin copied to clipboard
Chapter 4. Finite field algebra wrong formula
- w2 = w2 ⋅ 1 = w2 ⋅ wp–1 = w(p+1)
Since p is odd (recall p is prime), we know we can divide (p+1) by 2 and still get an integer, implying:
- w = w(p+1)/2
Correct conclusion is:
- ±w = w(p+1)/2