Back to index

plone3  3.1.7
Classes | Functions
plone.keyring.keyring Namespace Reference

Classes

class  Keyring

Functions

def GenerateSecret

Function Documentation

def plone.keyring.keyring.GenerateSecret (   length = 64)

Definition at line 7 of file keyring.py.

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

Here is the caller graph for this function: