ciphey介绍

Ciphey是一个功能强大的自动化解密工具,它具备出色的智能分析能力,能够迅速识别并解密各种加密或编码的文本。无论是Base64编码、ASCII转中文,还是复杂的凯撒密码、维吉尼亚密码,Ciphey都能轻松应对。

用户只需简单地将加密文本粘贴到Ciphey中,它便会自动运用其内置的多种算法和策略进行解密尝试。一旦找到正确的解密方法,Ciphey会立即展示解密后的明文,为用户节省了大量时间和精力。

Ciphey的智能化和自动化特点使其在众多解密工具中脱颖而出。它无需用户具备专业的加密知识,也无需手动尝试每一种可能的解密方式。此外,Ciphey还支持用户自定义算法和插件,进一步扩展了其解密能力,满足了不同用户的需求。

然而,值得注意的是,虽然Ciphey在大多数情况下都能成功解密文本,但并非所有加密或编码方式都能被其完全识别和解密。对于某些特殊或高度复杂的加密方式,Ciphey可能无法提供满意的解密结果。因此,在使用Ciphey时,用户仍需保持警惕,确保个人隐私和安全不受侵犯。同时,对于特别敏感的信息,建议采取更加严格的加密措施,避免泄露给不可信的第三方。

安装

pip install ciphey

但是有可能安装并不会顺利,具体问题见后面调试部分。

目前试验下来Ubuntu pyton3.8是可以安装成功的。python3.10会因为absl-py库安装失败无法安装。

运行:

到网站获取base64编码:

Base64 编码/解码 - 在线工具

$ ciphey -t "aGVsbG8gamluaW5n" -q
hello jining
$ ciphey -t "YUdWc2JHOGdhbWx1YVc1bg==" -q
hello jining

效果不错

把Linux下的账户密码放进去,等了10分钟,还没解开,这样就放心了!

python下的使用方法:

 from ciphey import decrypt
 from ciphey.iface import Config
 
 res = decrypt(
         Config().library_default().complete_config(),
        "SGVsbG8gbXkgbmFtZSBpcyBiZWUgYW5kIEkgbGlrZSBkb2cgYW5kIGFwcGxlIGFuZCB0cmVl",
         )
print(res)
'Hello my name is bee and I like dog and apple and tree'

调试:

安装报错:

pip3.10 install ciphey
Looking in indexes: https://mirror.baidu.com/pypi/simple
Collecting ciphey
  Using cached https://mirror.baidu.com/pypi/packages/33/a7/3ebf7688b22d2549f9fefcb581df9a401523df11dd19988b132b8e782074/ciphey-5.14.0-py3-none-any.whl (90 kB)
ERROR: Could not install packages due to an OSError: ('Received response with content-encoding: br, but failed to decode it.', Error("Decompression error: b'CL_SPACE'"))

执行pip3.10 install pip -U 之后该报错问题解决。

报错absl-py 0.9装不上

  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
 
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-64i9jmwv/absl-py_b3e60ff54ce1429e9b449088c84d77e0/setup.py", line 34, in <module>
          raise RuntimeError('Python version 2.7 or 3.4+ is required.')
      RuntimeError: Python version 2.7 or 3.4+ is required.

看到这一句:

⚠️ Ciphey doesn't work on Windows with Python 3.9+, use Python 3.7 or Python 3.8. Other platforms are fine with Python 3.9, Python 3.10 doesn't work.

明白了,原来absl-py将3.10判断成低于3.4了。

放弃,改用python3.9,出现新的报错:

numpy编译报错

Downloading https://mirror.baidu.com/pypi/packages/2d/f3/795e50e3ea2dc7bc9d1a2eeea9997d5dce63b801e08dfc37c2efce341977/numpy-1.18.4.zip (5.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.4/5.4 MB 1.4 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error
 
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [79 lines of output]
      Running from numpy source directory.
      <string>:461: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
      /tmp/pip-install-uyvpyhsn/numpy_f20331c1c9a540de8977777be6536c71/tools/cythonize.py:75: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
        required_version = LooseVersion('0.29.14')
      /tmp/pip-install-uyvpyhsn/numpy_f20331c1c9a540de8977777be6536c71/tools/cythonize.py:77: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
        if LooseVersion(cython_version) < required_version:
      performance hint: _common.pyx:261:19: Exception check after calling 'random_func' will always require the GIL to be acquired. Declare 'random_func' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
      performance hint: _common.pyx:285:19: Exception check after calling 'random_func' will always require the GIL to be acquired. De

继续升级换了的python3.9的pip

pip install pip -U

希望这回numpy1.8可以过去。还是没过去

最总换用python3.8

过了!

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐