Subversion Repositories SmartDukaan

Rev

Rev 18133 | Rev 18152 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 18133 Rev 18134
Line 312... Line 312...
312
            finally:
312
            finally:
313
                pass
313
                pass
314
        except:
314
        except:
315
            "could not read"
315
            "could not read"
316
        return str1
316
        return str1
-
 
317
    
317
def encryptMessage(plaintext_to_encrypt1):
318
def encryptMessage(plaintext_to_encrypt1):
318
    hasher = MD5.new()
319
    hasher = MD5.new()
319
    hasher.update(_password)
320
    hasher.update(_password)
320
    hasher.update(_salt)
321
    hasher.update(_salt)
321
    result = hasher.digest()
322
    result = hasher.digest()