Back to index

plone3  3.1.7
Classes | Functions
plone.session.sources.hash Namespace Reference

Classes

class  HashSession

Functions

def GenerateSecret

Function Documentation

Definition at line 6 of file hash.py.

00006 
00007 def GenerateSecret(length=64):
00008     secret=""
00009     for i in range(length):
00010         secret+=chr(random.getrandbits(8))
00011 
00012     return secret
00013 

Here is the caller graph for this function: