ROS Code
 All Classes Namespaces Files Functions Variables
ros.secure Namespace Reference

Functions

def randstring
 
def tokhex
 

Detailed Description

Secure functions.

Function Documentation

def ros.secure.randstring (   length = 1)
Generate a random string consisting of letters, digits and punctuation

length:
The length of the generated string. Default is 1

Definition at line 8 of file secure.py.

def ros.secure.tokhex (   length = 10,
  urlsafe = False 
)

Definition at line 27 of file secure.py.