Skip to content

aliofye/calculate-d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

calculate-d

Given e and φ(n), calculate the modular multiplicative inverse d such that d x e mod φ(n) = 1

This is a script to calculate d in the RSA encryption formula. More info can be found here.

Dependencies

  1. Get python 3.0

Getting Started

  1. Navigate to the directory where you can find calc_d.py
  2. Modify the values of e and the φ(n) in the script and save
  3. Run the command python calc_d.py

About

Given e and λ(n), calculate a value for d such that d x e mod λ(n) = 1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages