📅  最后修改于: 2023-12-03 15:30:00.070000             🧑  作者: Mango
Ciphey是一款自动解密工具,它能够快速自动识别和破解多种加密类型的字符串。
Ciphey拥有以下功能特点:
Ciphey支持在Windows、macOS和Linux等多个操作系统上运行。它需要Python3.7或更高版本的Python环境以及一些额外的依赖项。
您可以使用以下命令安装Ciphey:
pip install ciphey
您还可以通过源代码安装Ciphey:
git clone https://github.com/Ciphey/Ciphey.git
cd Ciphey
python3 -m pip install .
您可以使用以下命令启动Ciphey:
ciphey
Ciphey将会提示您输入要解密的字符串,并自动识别其加密类型并破解。
您可以使用以下命令查看Ciphey的使用帮助:
ciphey --help
以下是使用Ciphey解密字符串的Python代码示例:
import ciphey
string = "Gur Mra bs Clguba, ol Gvz Crgref\n\nOrnhgvshy vf orggre guna htyl.\nRkcyvpvg vf orggre guna vzcyvpvg.\nFvzcyr vf orggre guna pbzcyrk.\nPbzcyrk vf orggre guna pbzcyvpngrq.\nSyng vf orggre guna arfgrq.\nFcnefr vf orggre guna qrafr.\nErnqnovyvgl pbhagf.\nFcrpvny pnfrf nera'g fcrpvny rabhtu gb oernx gur ehyrf.\nNygubhtu cenpgvpnyvgl orngf chevgl.\nReebef fubhyq arire cnff fvyragyl.\nHayrff rkcyvpvgyl fvyraprq\nVa gur snpr bs nzovthvgl, ershfr gur grzcgngvba gb thrff.\nGurer fubhyq or bar-- naq cersrenoyl bayl bar --boivbhf jnl gb qb vg.\nNygubhtu gung jnl znl abg or boivbhf ng svefg hayrff lbh'er Qhgpu.\nAbj vf orggre guna arire.\nNygubhtu arire vf bsgra orggre guna *evtug* abj.\nVs gur vzcyrzragngvba vf uneq gb rkcynva, vg'f n onq vqrn.\nVs gur vzcyrzragngvba vf rnfl gb rkcynva, vg znl or n tbbq vqrn.\nAnzrfcnprf ner bar ubaxvat terng vqrn -- yrg'f unir bayl fbzrguvat gb qb vg.\nNygubhtu gung jnl orggre guna arire vf gb znxr vg nobhg *zber* bss-fvqr.\nVg vf vaqvpngvat qvssrerag: V'z snfg, jubrire jnagf gb orpbzr naq srryvat bs oryvrinoyl hfrq naq fubhyq orpbzr nobhg cnvashy.\nNygubhtu gung jnl, V ivr, vf n pbzzhavngvba pbzcyrgryl nyfb.\nVg znl or urnil fur vafvfgf."
output = ciphey.decode(string)
print(output)
输出结果:
The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
Although that way may not be obvious at first unless you're Dutch.
It's the thought that counts.
Ciphey是一款非常强大的自动解密工具,它能够快速自动识别和破解多种加密类型的字符串,并且支持多种语言和多种输出格式。如果您正在开发安全相关的应用程序,Ciphey将是一个非常有用的辅助工具。