从已知因子和指数中获取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 web应用程序组合到一个web应用程序(war)中而不相互影响?   java一次屏蔽两位   java如何在多个类上初始化元素?   java在后台服务中处理通知或使用GCM(或其他推送通知服务)   java从const方法调用JNI函数   javascript如何使用函数/方法返回?   Java优化:声明类变量与使用临时变量   java字符算术基数8 vs基数10   Java流收集要存储的对象列表   swing我正在用Java中的keyListener制作一个精灵移动器   在Gradle构建脚本中使用Scala(或java)方法   java Android Mediaplayer下一步按钮不起作用   Java Sound API在播放音频文件后将其锁定   java将变量从外部类传递到内部类的最佳方法   使用play framework的博客web应用程序出现java逻辑错误   java我们可以在Spring批处理中处理大型zip文件吗?   java如何检查JTable的选定行的特定列中的值是否已经在JList中?