6

rc4 加密 解密 算法 调试 测试 工具

 3 years ago
source link: https://lcx.cc/post/4596/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

rc4 加密 解密 算法 调试 测试 工具

  rc4 是一种很常见的加密算法,编程经常用到,然而之前网上找了一大圈没有顺手的,所以之前自己花了点时间写了一个小工具,十分方便好用,同时支持二进制、文本数据的输入及输出,适用于任何场景。

  可能是全网最好用的 rc4 加密解密算法调试测试工具。

  用法极其简单,自己看说明吧。

作者:Nuclear'Atk (核攻击)
网站:https://lcx.cc/
版本:1.0 (2019/06/12)

说明:

rc4.exe 模式 密码 数据 [进制] [输出]

模式:0 = 加密文件,1 = 加密普通字符串,2 = 加密十六进制字符串。
密码:加密使用的密钥,如果有空格等特殊字符需要使用双引号引起来。
数据:模式 0 为文件路径,模式 1,2 为字符串,特殊字符需要双引号。
进制:可选参数,指定输出数据是 16 进制字符串(默认) 还是 2 进制。
输出:可选参数,可以将数据输出到指定文件,路径有空格需要双引号。

提示:

rc4 加密和解密的算法是一样的,加密后用相同密码再次调用即是解密。

例子:

rc4.exe 0 123456 a.txt
rc4.exe 0 123456 a.txt 2 b.txt
rc4.exe 0 123456 a.txt 16
rc4.exe 0 123456 a.txt 16 b_hex.txt
rc4.exe 1 123456 "test string 123456 !@#"
rc4.exe 1 123456 "test string 123456 !@#" 2 a.txt
rc4.exe 1 123456 "test string 123456 !@#" 16 a_hex.txt
rc4.exe 2 "123456" 74901714045A66BC0B5251C2D8
rc4.exe 2 "123456" 74901714045A66BC0B5251C2D8 2
rc4.exe 2 "123456" 74901714045A66BC0B5251C2D8 16
rc4.exe 2 "123456" 74901714045A66BC0B5251C2D8 2 a.txt

  下载地址:rc4.exe


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK