RSA

From HacktionLab: A UK-wide network tech-activists providing meet-ups, events, workshops, national skillshare gatherings and hacklabs
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Proof of RSA

We do a quick and dirty proof the correctness of the RSA algorithm.

To prove it we need Fermats Little Theorem

Proof of Fermats Little Theorem

FLT-1s.jpeg


Proof of RSA correctness using Fermats Little Theorem

Remember totient(pq) = (p-1)(q-1)

RSA-1s.jpg


Obviously raw RSA is vulnerable to chosen cipher text and chosen plain text attacks, but it's still kinda fun to see a simple proof of correctness


Xxx Kate