semvec/pypi-packages huggingface dataset:
rs1101 0.3.5
Generate secrect random strings. Convert random strings with integers.
License: MIT License
Requires Python: >=3.6
Keywords: key, random string

```shell
$ rs # Generate a random string of lenth 10.
8Vlp66h9Wc
```

```shell
$ rs -l 16 # Generate a random string of lenth 16.
xVOKhNEe0xJ607Ch
```

```shell
$ rs -l 16 -c a # Specify a character set.
~_Ak-=0PNP}fo]j&h
```

```python
length = 20
rs = random_string(length)
strength = strength(length, len(candidate))
print(rs, strength) # khfT6pghUm1n1cpZhTar 119
x = rs2int(rs)
y = int2rs(x)
print(rs, x, y) # khfT6pghUm1n1cpZhTar 415159970288189017488437341125226411 khfT6pghUm1n1cpZhTar
```