You Are Here:

Community: Developer Discussion Boards

#1 Old Thumbs up [announce] RSAsms v0.4 (encrypted messaging) - 2007-05-01, 19:56

Join Date: May 2007
Posts: 2
pheenyx
Offline
Registered User
Hi,

I want to present a tool for encrypting/decrypting and sending messages using the common public-key algorithm RSA, i.e. you have a pair of keys. A private key, which is your secret and a public key, you have to share with everybody you want to communicate with.
A message will be encrypted using the recipient's public key, so that everybody can send messages to him, but only he/she can decrypt it, because he/she is the only one, who has the corresponding private key.
Some mathematic functions needed for RSA are based on Math Lab, an advanced math application by Stefan Müller-Stach

Installation:
  1. Download RSAsms from http://www.students.uni-mainz.de/mardaus/files.html and install as script on your mobile phone
  2. Download mmsmodule from http://nysse.lapanen.org/python/MMS/ and install as lib

Usage:

When you first start the RSAsms script from your Python environment, you have to execute "Generate Key Pair" once. This process may take some time according to the length you chose (the longer your keys are the higher the security will be).
Keep in mind, that this is a unique process, because you will retain your key pair.
You will find your public key in C:\RSA\keys on your phone as <yournumber>.pub file.

Sending a message:
You need to have the public key of the recipient to encrypt the message correctly (transfer public keys via bluetooth using e.g. FExplorer).
You have two options:

1. Write & Send RSAsms:
After entering the recipients phone number and the message text, you choose OK from the options menu and the message will be encrypted and sent via MMS.

2. Write RSAsms:
Same as above, but due to a reduction of costs the message will not be sent.
You can find it as C:\RSA\msg\msg.py which also can be transfered via bluetooth etc.

Recieving a message:
If you get a new message it will be displayed in your phone's inbox (as bluetooth or MMS message) and you simply have to run the .py file as script. The python installer will do the rest.

Reading the message:
Start RSAsms from your python environment and select "Read RSAsms". After decrypting the message will be displayed.


Have fun maintaining your privacy
pheenyx
Reply With Quote

#2 Old Thumbs up Re: [announce] RSAsms v0.4 (encrypted messaging) - 2007-07-11, 14:48

Join Date: May 2007
Posts: 2
pheenyx
Offline
Registered User
*up*
some feedback would be nice
Reply With Quote

#3 Old Re: [announce] RSAsms v0.4 (encrypted messaging) - 2007-11-19, 14:00

Join Date: Sep 2005
Posts: 314
Location: Finland, Helsinki
aaaaapo
Offline
Regular Contributor
Quote:
Originally Posted by pheenyx View Post
I want to present a tool for encrypting/decrypting and sending messages using the common public-key algorithm RSA, i.e. you have a pair of keys. A private key, which is your secret and a public key, you have to share with everybody you want to communicate with.
pheenyx (I hope you are still following this discussion board), this tool seems very interesting. Perhaps after some slight modifications it could be used to encrypt normal HTTP messages, too?

You mention nothing about license in the RSAsms.py's header:

Quote:
# Python RSAsms based on Math_lab 0.9.4
# Version 0.4
# (c) 2007 Michael Mardaus and Tobias Nagel
# uses Python for Nokia Series 60
Is it possible to release RSAsms under some opensource-license? I would like to include it into my application.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
[announce] messkit (asynch bidirectional messaging over TCP) cyke64 Python 0 2006-12-25 10:34

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia