ffffffff0x / BerylEnigma

ffffffff0x team toolset for penetration testing, cryptography research, CTF and daily use. | ffffffff0x 团队工具集,用来进行渗透测试,密码学研究,CTF和日常使用。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[issue] 栅栏密码的加密有些问题

No-Github opened this issue · comments

栅栏密码的加密有些问题

kanbbrgghjl{zb____}vtlaln

密钥为 7 时加密结果为 kg_lah_anj_lbl_nb{}rzvgbt
image

实际结果应该为 kzna{blnl_abj_lbh_trg_vg}

可以用这个验证下结果 http://www.hiencode.com/railfence.html
image

commented

https://www.qqxiuzi.cn/bianma/zhalanmima.php

image

http://www.metools.info/code/fence154.html

image

栅栏密码有多种不同的实现,这个工具实现的是标准型栅栏加密,而当前flag使用的是W型栅栏加密,可以参照上述两个网站

在之后的更新中会加入此项功能