Skip to content

Assignment for the course Number Theory and Cryptography

Notifications You must be signed in to change notification settings

CSE-Projects/NTC-1819-A1-154-233

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NTC-1819-A1-154-233

Assignment for the course Number Theory and Cryptography

  • Dibyadarshan Hota (16CO154)
  • Omkar Prabhu (16CO233)

Q 22. Write a MATLAB code to find (a^x + b^y) modulo m where a, b, x, y and m are positive integers.

Usage

Run

>> main

Output

Folder Structure

  • main.m - Main logic of the program
  • fast_modulo_exponentiation.m - Exponentiates using repeated squaring and taking modulo
  • phi.m - Euler's Totient function
  • modulo.m - modulo operator
  • gcd_int.m - greatest common divisor of two numbers using Euclid's algorithm

About

Assignment for the course Number Theory and Cryptography

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages