Metadata-Version: 2.1
Name: rs1101
Version: 0.1.4
Summary: Generate secrect random strings. Convert random strings with integers.
Author-email: Tom <huqh1101@gmail.com>
Maintainer-email: Tom <huqh1101@gmail.com>
License: MIT License
Keywords: key,random string
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: argparse
Provides-Extra: test
Requires-Dist: unittest; extra == "test"

```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
```
