Skip to content

LaurinMeier/Inverse-Multiplicative-Algorithm-in-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Inverse-Multiplicative-Algorithm-in-Java

This is a showcase of an implementation of the Extended Euclidean Algorithm for finding the inverse multiplicative of a key with a known modulus. This algorithm finds common use in the cryptographic algorithm RSA.

The value of b in the following equation

a * b ≡ 1 (mod m)

can be calculated as:

int b = inverseKey(m, a)

Note however that this function is merely a showcase and not a class which can be directly imported.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages