📜  置换密码技术与转置密码技术的区别

📅  最后修改于: 2021-09-13 02:31:41             🧑  作者: Mango

置换密码技术转置密码技术都是传统密码的类型,用于将明文转换为密文。

替换密码技术:
在替换密码技术中,纯文本字符被其他字符、数字和符号替换,在替换密码技术中,字符的身份发生了变化,而其位置保持不变。

转置密码技术:
转置密码技术重新排列纯文本字符的位置。在转置密码术中,字符的位置改变了,但字符的身份没有改变。

置换密码技术与转置密码技术的区别:

S.NO Substitution Cipher Technique Transposition Cipher Technique
1. In substitution Cipher Technique, plain text characters are replaced with other characters, numbers and symbols. In transposition Cipher Technique, plain text characters are rearranged with respect to the position.
2. Substitution Cipher’s forms are: Mono alphabetic substitution cipher and poly alphabetic substitution cipher. Transposition Cipher’s forms are: Key-less transposition cipher and keyed transposition cipher.
3. In substitution Cipher Technique, character’s identity is changed while its position remains unchanged. While in transposition Cipher Technique, The position of the character is changed but character’s identity is not changed.
4. In substitution Cipher Technique, The letter with low frequency can detect plain text. While in transposition Cipher Technique, The Keys which are nearer to correct key can disclose plain text.
5. The example of substitution Cipher is Caesar Cipher. The example of transposition Cipher is Reil Fence Cipher.