Pythoncard mental block

2005-10-07 Thread jlocc
Hi!!

I am working on a school project and I decided to use PythonCard and
wxPython for my GUI development. I need a password window that will
block unwanted users from the system. I got the pop-up password
question to work...

   def on_openBackground(self, event):

result = dialog.textEntryDialog(self,
'System',
'Please enter your password: ',
'')

.but I don't exactly remember how to check if the entered password
is correct. Say I hard code the password to be 'hello', then how would
I check if this was the input or if it wasn't???

Sorry, I've got a mental blockI'm using the latest
everythingthank!!

-- 
http://mail.python.org/mailman/listinfo/python-list


encryption with python

2005-09-07 Thread jlocc
Hi!

I was wondering if someone can recommend a good encryption algorithm
written in python. My goal is to combine two different numbers and
encrypt them to create a new number that cann't be traced back to the
originals.

It would be great if there exists a library already written to do this,
and if there is, can somebody please point me to it??

Thanks in advance,
J

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: encryption with python

2005-09-07 Thread jlocc
Basically I will like to combine a social security number (9 digits)
and a birth date (8 digits, could be padded to be 9) and obtain a new
'student number'. It would be better if the original numbers can't be
traced back, they will be kept in a database anyways. Hope this is a
bit more specific, thanks!!!

-- 
http://mail.python.org/mailman/listinfo/python-list


ezPyCrypto

2005-09-14 Thread jlocc
Hi!!

I finally decided to use ezPyCrypto for my project but I can't download
it from http://www.freenet.org.nz/ezPyCrypto/ ...

Does anyone know of a different mirror? Maybe a similar wrapper?

My goal is to encrypt a nine-digit number so that it can be safely used
as a student ID number.


THIS IS A SCHOOL PROJECT. NO NEED TO KILL NOBODY OVER EXPORT LAWS OR
UNSAFE PRACTICESpleas!!!

Thanks in advance, 
J

-- 
http://mail.python.org/mailman/listinfo/python-list