def generateCookieSecret():
 return base64.b64encode((uuid.uuid4().bytes + uuid.uuid4().bytes))

def generateCookieSecret ( ) : return base64 . b64encode ( ( uuid . uuid4 ( ) . bytes + uuid . uuid4 ( ) . bytes ) )
generate a new cookie secret .