Dear All,

I have been stuck and confused while bringing changes in this program which i got from http://www.dreamincode.net/code/snippet76.htm

This program uses a simple 0xFACA character and adds and subtracts for doing encryption and decryption.

Now what i want to use is asymmetric encryption technique or we can say part of it.

let say we have a a plain text x= 88

for encryption we will use cipher text crypt =(x*37)%200, so the crypt will be = 56

now we want to decrypt it so decrypt = ( crypt*173) % 200, which will give 88, which is the plain text again,

37 and 173 are modular inverse base 200.

when apply the above formula in the above mentioned program it does work, please help me solve this issue.

Best Regards!