You Are Here:

Community: Developer Discussion Boards

#1 Old Cryptography in Python series 60 - 2005-09-13, 16:58

Join Date: Sep 2005
Posts: 13
tonino12345
Offline
Registered User
Hi, do you know if exists any module in python for series60 about cryptography?
I know that there's the md5 module but I'm serching an implemetation of cryptographic algorithms (like DES, RSA etc....). In python on PC there's a toolkit on cryptography but it seems very hard to use in python for series60.
Do you know any module to encrypt my infos in my cellphone?
Reply With Quote

#2 Old Re: Cryptography in Python series 60 - 2005-09-15, 08:10

Join Date: Jan 2005
Posts: 148
Location: Bangkok, Thailand
Send a message via MSN to korakotc
korakotc's Avatar
korakotc
Offline
Regular Contributor
You may like to look at pydes which implement DES
http://sourceforge.net/projects/pydes

I can't find a pure python asymmetric encryption
implementation. Does one exist?
Reply With Quote

#3 Old Re: Cryptography in Python series 60 - 2005-09-15, 08:59

Join Date: Dec 2004
Posts: 18
mueller-stach
Offline
Registered User
http://www.amk.ca/python/writing/pycrypt/

has most of the common cryptographic tools and is well documented.
Reply With Quote

#4 Old Re: Cryptography in Python series 60 - 2005-09-15, 16:18

Join Date: Jan 2005
Posts: 148
Location: Bangkok, Thailand
Send a message via MSN to korakotc
korakotc's Avatar
korakotc
Offline
Regular Contributor
SHA and MD5 is also available from pypy at
http://codespeak.net/svn/pypy/dist/pypy/lib/
Reply With Quote

#5 Old Re: Cryptography in Python series 60 - 2005-09-15, 16:29

Join Date: Sep 2005
Posts: 13
tonino12345
Offline
Registered User
Hi, I know pycrypt toolkit but I'm not sure that it works well under series60. In particular way I'm searching a solution to encrypt a SMS. Is it a good idea?
Reply With Quote

#6 Old Re: Cryptography in Python series 60 - 2005-09-16, 07:39

Join Date: Mar 2003
Posts: 6,211
petrib
Offline
Forum Nokia Champion
Why not. If you encrypt an SMS, then - naturally - the receiving end needs to know the keys and the algorithm used to decrypt it, too.

There's already a Series 60 app for that sort of thing; Fortress SMS: http://my-symbian.com/7650/applicati...Auto=503&faq=2
Reply With Quote

#7 Old Re: Cryptography in Python series 60 - 2005-09-16, 19:02

Join Date: Sep 2005
Posts: 1
nymble
Offline
Registered User
There'a some python crypot on siurce forge in the 'cryptopy' project. It includes AES. It was written for readability rather than speed, so it might be a little slow.
Reply With Quote

#8 Old Re: Cryptography in Python series 60 - 2005-09-24, 23:37

Join Date: Sep 2005
Posts: 13
tonino12345
Offline
Registered User
I'm yet working on cryptography in python series60. For this I'm considering "pycrypto toolkit" because it's a good framework. I've ported the directory structure of this framework into my N-Gage QD, but when I import a module it says that the module not exists.

I should install every python file "as a module" but this means that I'd change the dipendencies in the source of the framework....

Do exists a better solution to install all the framework as a single module?
Reply With Quote

#9 Old Re: Cryptography in Python series 60 - 2005-09-27, 04:49

Join Date: Jan 2005
Posts: 148
Location: Bangkok, Thailand
Send a message via MSN to korakotc
korakotc's Avatar
korakotc
Offline
Regular Contributor
I have just found an implementation of asymmetric cryptography (RSA).
http://cheeseshop.python.org/pypi/asym/
It's pure python. I haven't test whether it's fast enough yet.
Reply With Quote

#10 Old Re: Cryptography in Python series 60 - 2007-08-18, 01:23

Join Date: Feb 2006
Posts: 2
FxIII
Offline
Registered User
get pycripto as as pys60 module will be a veeery good thing since a lot of pure python programs are written uppon this module, fist to all paramiko which is an implementation of ssh in python...
Probably we may consider to add this in the pys60 wishlist
Reply With Quote

#11 Old Re: Cryptography in Python series 60 - 2007-11-29, 14:16

Join Date: Sep 2005
Posts: 314
Location: Finland, Helsinki
aaaaapo
Offline
Regular Contributor
I know there exists "Python Cryptography Toolkit": http://www.amk.ca/python/writing/pycrypt/

I also know that "quickie" has successfully compiled AES for Pys60: http://discussion.forum.nokia.com/fo...d.php?t=105215
Quote:
Originally Posted by quickie View Post
with the help from this forum, I finally managed to compile the AES module from the Python Cryptographic Toolkit.
After a quick look it seems to be possible to compile also some other modules from "Python Cryptography Toolkit" to Pys60. At least native RSA would be a nice addition. (Pure python implementations are quite slow...)

Is here someone who would be willing to help me in this "Python Cryptographic Toolkit for PyS60" project?

I think here: http://wiki.opensource.nokia.com/pro...S60_extensions
can be found some good examples (with sources) how to create the right directory hierarchy and .mmp/.pkg etc. files needed to compile .pyd-modules.

Or has somebody already done this?
Reply With Quote

#12 Old Re: Cryptography in Python series 60 - 2007-11-29, 15:28

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
Quote:
Originally Posted by aaaaapo View Post
I know there exists "Python Cryptography Toolkit": http://www.amk.ca/python/writing/pycrypt/

I also know that "quickie" has successfully compiled AES for Pys60: http://discussion.forum.nokia.com/fo...d.php?t=105215


After a quick look it seems to be possible to compile also some other modules from "Python Cryptography Toolkit" to Pys60. At least native RSA would be a nice addition. (Pure python implementations are quite slow...)

Is here someone who would be willing to help me in this "Python Cryptographic Toolkit for PyS60" project?

I think here: http://wiki.opensource.nokia.com/pro...S60_extensions
can be found some good examples (with sources) how to create the right directory hierarchy and .mmp/.pkg etc. files needed to compile .pyd-modules.

Or has somebody already done this?
Hello aaaapo ... sorry aaaaapo

I took a look on AES source code and compare with original source code. What a surprise there's no change !
So I suppose you can use the same process and add missing modules of the Py Cryptographic Toolkit like RSA and DES ...

Cyke64


pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 !

pys60 extension modules on http://cyke64.googlepages.com/
Reply With Quote

#13 Old Re: Cryptography in Python series 60 - 2007-11-29, 21:51

Join Date: Sep 2005
Posts: 314
Location: Finland, Helsinki
aaaaapo
Offline
Regular Contributor
Quote:
Originally Posted by cyke64 View Post
I took a look on AES source code and compare with original source code. What a surprise there's no change!
Yes! I diff'ed the sources also, and they were the same!

But you are the one who compiled aes 1.0.0 3rd unsigned: http://discussion.forum.nokia.com/fo...8&postcount=12

Could you tell me which SDK, other tools and commands you used to produce above package?
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
Python for Series 60 released on Forum Nokia! eriksmartt Python 5 2009-07-14 18:00
Python Cryptography Toolkit on Series 60 tomas.hubalek Python 0 2005-06-01 11:00
How to capture a snapshot with Python on Series 60 phones? harrygoesnokia General Symbian C++ 0 2004-07-18 01:56
Series 60 Concept Emulator (SDK Beta 0.2 Linux) not working mattbee Mobile Java Tools & SDKs 1 2003-06-10 12:43
Series 60Series 60 MIDP Concept SDK Beta 0.2 Linux bug? kauppi Mobile Java Tools & SDKs 3 2003-04-07 10:05

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