从已知因子和指数中获取rsa密钥的工具。

rsade的Python项目详细描述


rsade

从已知因素生成rsa密钥的工具。

语法

rsade [-h] [-o [OUT]] [-r] [-s] p q e
positional arguments:
  p                     The first factor of the modulus.
  q                     The second factor of the modulus.
  e                     The exponent.
optional arguments:
  -h, --help            Show this help message and exit.
  -o [OUT], --out [OUT]
                        The file to output the key to.
  -r, --private         Output just the private exponent (d) and not the whole
                        key.
  -s, --silent          Do not output anything.

示例用法

生成密钥。

rsade 61 53 17

生成密钥,将其写入foo,并且不打印任何内容。

rsade 61 53 17 -s -o foo

生成私有指数。

rsade 61 53 17 -r

安装

pip install .

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
用于批量操作的java RESTful API分块响应   java读取在线存储的文本文件   在Java ME中将双精度舍入到小数点后5位   java查找一个数字的最接近因子   java更改JMenuBar的字体   java Kmeans聚类算法运行时间和复杂性   java是否可以阻止try catch返回null   java内容解析器指向具有正确URI的错误表   java Android Kotlin插装测试未被识别为插装测试   java TestNG@Dataprovider   在forloop和print语句中声明变量时发生java错误   java在Android Studio 3中设置JNI