I am creating a function which generates a privateKey for RSA. The underlying algorithm for generating a privateKey is the Extended Euclidean algorithm. According to Wikipedia, the output of this algorithm is a "Bézout's identity".
I never heard of Bézout's identity before and wanted to know what it's importance is and what is it used for, but I can't find a clear answer. Googling "What is the importance of Bézout's identity?" yields no relevant results. The closest thing I could find was a discussion on Wikipedia:Talk
The point is that Bézout's identity is an important result which is used in many areas of mathematics. In particular it is one of the starting tools (with modular arithmetic) of Diophantine equation theory
To someone who does not have an extensive mathematical background the above discussion is meaningless. Can someone describe the importance and use-cases for Bézout's identity in layman terms?
If $px+qy=1$ and $$z\equiv m\pmod p\z\equiv n\pmod q$$
Then $$z\equiv npx+mqy\pmod{pq}$$
– Thomas Andrews Dec 27 '16 at 23:41