Implementing the Extended Euclidean Algorithm in C++
Learn how to implement the Extended Euclidean Algorithm in C++ to solve linear congruence equations and compute modular inverses effectively.
About this video
I made a mistake in the C++ code:
STEP 1. x = 1; y = q_last
Subsequent STEPS:
int t = x; x = y;
y = t + y * q_prev;
I also found a few other bugs and fix them in my next video. Please watch my next video how to fix them.
https://www.youtube.com/watch?v=BixqhGdS6ZI&t=2316s
1. Extended Euclidean Algorithm Example
https://goo.gl/7LH4ss
2. Solve a Linear Congruence using Euclid's Algorithm:
https://goo.gl/RFRgro
3. Extended Euclidean Algorithm and Inverse Modulo Tutorial
https://goo.gl/41XFdM
4. About How to Implement Euclidean Algorithm in C++
https://goo.gl/9Cs2FV
Download source code:
http://www.TalkPlayFun.com/bison_flex/ExtendedEuclideanSolution.zip
For more information:
http://www.TalkPlayFun.com/Cryptography
Tags and Topics
This video is tagged with the following topics. Click any tag to explore more related content and discover similar videos:
Tags help categorize content and make it easier to find related videos. Browse our collection to discover more content in these categories.
2 user reviews
Write a Review
User Reviews
0 reviewsBe the first to comment...
Video Information
Total views since publication
User likes and reactions
Video length
Release date
Video definition
About the Channel
Related Trending Topics
LIVE TRENDSThis video may be related to current global trending topics. Click any trend to explore more videos about what's hot right now!
No specific trending topics match this video yet.
Explore All Global TrendsShare This Video
SOCIAL SHAREShare this video with your friends and followers across all major social platforms including X (Twitter), Facebook, Youtube, Pinterest, VKontakte, and Odnoklassniki. Help spread the word about great content!