Using Rotor with password file

Colin Meeks colin at meeks.ca
Sat Feb 1 17:11:36 CET 2003


I'm implementing Rotor within my application and am having a problem with 
decrypting. Basically I have a file with users similar to this

    	name||password||level

each on it's own line.  I read the line in using readline and then split 
the line into a variable y[]

y[0] is the username
y[1] is the password
y[2] is the level

If I print Y all the passwords have an extra '\' where there is an initial 
'\', i.e. '\eda' would read '\\eda'
If I print y[1] it appears correct. However when I decrypt using y[1] I get 
the wrong code back. 

Anybody got any ideas??

Colin




More information about the Python-list mailing list