Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 06-28-2013, 03:55 PM   #1
Beta Member
 
Join Date: Jun 2013
Location: England
Posts: 2
Default MOD Question

Hi there, I have a question about how to reverse MOD. Its for a computing course where I have to write my own encryption, but to prove it works I need to write the decryption.
I've used MOD on a number and used 26 as the divisor because each number eventually needs to represent a letter (I've made a table and used the VLOOKUP function to return the original letter into another).
Any help would be greatly appreciated,

Henry
__________________

HenryNoble is offline   Reply With Quote
Old 06-29-2013, 12:42 PM   #2
In Runtime
 
lhamil64's Avatar
 
Join Date: Jan 2007
Posts: 398
Default Re: MOD Question

Quote:
Originally Posted by HenryNoble View Post
Hi there, I have a question about how to reverse MOD. Its for a computing course where I have to write my own encryption, but to prove it works I need to write the decryption.
I've used MOD on a number and used 26 as the divisor because each number eventually needs to represent a letter (I've made a table and used the VLOOKUP function to return the original letter into another).
Any help would be greatly appreciated,

Henry
Mathematically it's not possible to have an inverse mod operator.
See this link for an explanation.
__________________
--Lee
Website/Blog: http://lhamil64.wordpress.com
lhamil64 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 04:02 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0