Skip to content

Commit

Permalink
Release 1.0.0 Alpha~
Browse files Browse the repository at this point in the history
  • Loading branch information
Reverier-Xu committed May 4, 2020
1 parent 7e58eb3 commit 72e011d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 60 deletions.
1 change: 1 addition & 0 deletions MainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,7 @@ def setupUi(self, MainWindow):

self.restorePath()
self.EditorPanelCreate()
self.DataFlowPanelCreate()

def MaximumWindow(self):
if self.MaxFlag:
Expand Down
11 changes: 4 additions & 7 deletions Modules/DataFlow/cracks/break_simplesub.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ def break_simplesub(ctext):

# keep going until we are killed by the user
i = 0
for i in range(10000):
i = i+1
out = ''
for i in range(200):
print(i)
random.shuffle(parentkey)
deciphered = SimpleSub(parentkey).decipher(ctext)
parentscore = fitness.score(deciphered)
Expand All @@ -33,7 +34,6 @@ def break_simplesub(ctext):
parentkey = child[:]
count = 0
count = count + 1
out = ''
# keep track of best score seen so far
if parentscore > maxscore:
maxscore,maxkey = parentscore,parentkey[:]
Expand All @@ -42,8 +42,5 @@ def break_simplesub(ctext):
temp+= ' best key: '+''.join(maxkey)
temp += ' plaintext: ' + ss.decipher(ctext)
out = temp + out
print(out)
return out




54 changes: 3 additions & 51 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,57 +47,9 @@ pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

Postwoman

## 密码与编码
## 数据流

### 密码学重构完成, 请参照Modules文件夹下的实例编写模块, 文档稍后上线.

### Base系列
Base64 Base32 Base16 Base85-ASCII Base85-RFC1924

支持任意字符的换表操作, 支持对Python格式的bytes进行编码与解码. 支持Base64隐写提取.

~~支持文件操作. 添加了明文和密文的快速交换键, 用于反base套娃 (误~~

### Quoted-Printable
支持文件和字符串的编码和解码.

### Url编码
支持自定义字符集的Url编码解码.

### Hex编码
支持Hex编码(UTF-8)

### HTML编码
支持HTML编码

### Escape
支持JavaScript的Escape编码

### 敲击码
Tap Code, 简单的编码解码支持.

### 摩斯电码
Morse Code, 提供基础的(字母, 英文标点, 中文, unicode)编码解码支持, 支持自定义分隔符.

### Hash计算

~~支持计算大文件哈希值,~~

支持计算几乎所有哈希类型, 如md5, sha512等等.
支持计算普通文本和bytes类型数组的哈希值.
支持计算时加入指定长度的随机盐.

### 凯撒密码
Caesar Cipher, 提供无限位移功能

### 栅栏密码
Rail-Fence Cipher, 提供不限大小的分组功能

### ROT系列
ROT13和ROT47加密解密支持

### 笔画密码
Strokes Cipher, 提供约2w字左右的汉字笔画密码查询
提供绝大多数的编码, 密码工具, 支持状态的保存, 导出与加载, 并具有完善的插件系统, 可以随时扩展,

## 启动器

Expand Down Expand Up @@ -127,4 +79,4 @@ Strokes Cipher, 提供约2w字左右的汉字笔画密码查询
集成了一个具有基本浏览功能的浏览器. 支持Flash插件的使用.
Windows上的H5不包含h.264的解码器, 无法进行H5播放. Linux上一切正常.

# Release 1.0
# Release 1.0.0 Alpha
2 changes: 1 addition & 1 deletion UserConfig/NodeEditorCurrent.rxf
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"nodes": [{"id": "0de5e733-4817-4bc9-b911-24876c025f7b", "model": {"name": "Input", "string": "Hello World!"}, "position": {"x": -411.0, "y": -319.0}}, {"id": "6aee7b08-00de-48bf-b23f-04327ba3c5d2", "model": {"name": "Vigenere", "settings": {"switch": "encrypt", "key": "reveriertql"}}, "position": {"x": -36.0, "y": -73.0}}, {"id": "308ad6e1-4542-4717-bb38-9472c34e4da0", "model": {"name": "Output"}, "position": {"x": -416.0, "y": 73.0}}], "connections": [{"in_id": "6aee7b08-00de-48bf-b23f-04327ba3c5d2", "in_index": 0, "out_id": "0de5e733-4817-4bc9-b911-24876c025f7b", "out_index": 0}, {"in_id": "308ad6e1-4542-4717-bb38-9472c34e4da0", "in_index": 0, "out_id": "6aee7b08-00de-48bf-b23f-04327ba3c5d2", "out_index": 0}]}
{"nodes": [{"id": "be5819f2-ff38-4db0-b3cc-dd13c0744d69", "model": {"name": "Input", "string": "Hello World~!"}, "position": {"x": -235.0, "y": 5.0}}, {"id": "a9730e67-2f76-43fb-900e-03e41aa9b8fe", "model": {"name": "Output"}, "position": {"x": -58.0, "y": 391.0}}], "connections": [{"in_id": "a9730e67-2f76-43fb-900e-03e41aa9b8fe", "in_index": 0, "out_id": "be5819f2-ff38-4db0-b3cc-dd13c0744d69", "out_index": 0, "converter": {"in": {"id": "string", "name": "data"}, "out": {"id": "string", "name": "data"}}}]}
2 changes: 1 addition & 1 deletion UserConfig/paths.ctfe
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"GlobalPath": "E:\\ICTFE", "PDFPath": "E:\\mnt\\Data\\ICTFE"}
{"GlobalPath": "/mnt/Data/ICTFE/E:\\ICTFE", "PDFPath": "/mnt/Data/ICTFE/E:\\mnt\\Data\\ICTFE"}

0 comments on commit 72e011d

Please sign in to comment.