def rand_str(size=9999999999, hash_type=None):
    if not hash_type:
        hash_type = __opts__.get('hash_type', 'md5')
    return salt.utils.rand_str(hash_type=hash_type, size=size)
Return a random string
dataset/ETHPy150Open saltstack/salt/salt/modules/test.py/rand_str