Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / RSA encryption, homework help

Author
Message
El Goorf
18
Years of Service
User Offline
Joined: 17th Sep 2006
Location: Uni: Manchester, Home: Dunstable
Posted: 7th Mar 2010 01:53 Edited at: 7th Mar 2010 02:21
I've managed to make 3 years of my uni course without resorting to the forums for help, but now i'm stuck. its still not due in for another 2 weeks, but i'd really like to get it out of the way.

assignment:


i've been given the encrpytion exponent e = 7, n = 20340377 and encrypted blocks(decimal) = 14106558 4726600

so here's my script to deal with it (python):



it should be self explanatory, but what i'm doing is cycling through all possible combinations of AAA to ZZZ, encrypting and comparing to see if it matches the first block, and then going through again for AA_ to ZZ_ ( _ = space ). but in neither case are there any matches..

anyone familiar with RSA willing to take a look and see where i've gone wrong?

http://notmybase.com
All my base are not belong to anyone.
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 9th Mar 2010 19:50
Never dealt with rsa from the programming side before, but I'm interested. I'll take a look at it and let you know if i come up with anything. I don't know python, but I think I can figure out what your code does.


"Any sufficiently advanced technology is indistinguishable from magic" ~ Arthur C. Clarke

Login to post a reply

Server time is: 2025-05-24 20:26:31
Your offset time is: 2025-05-24 20:26:31