本文介绍了用文字发布隐写术的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个关于密码学的项目.

我想用C#创建一个程序以将秘密密钥嵌入密文中,假设我已通过算法用密钥k加密为DES加密了密文c的消息,现在我想将密钥k插入密文c中,我的问题是:我不知道``不知道该使用哪种算法或技术,算法是随机插入还是逻辑技术,我的目的是中间人(actacker)无法理解包含密钥的密文中的密钥,当然程序允许获取密钥来自密文.

即:我有一个密钥8字节,密文128字节,程序将使用1字节密钥(128/8 = 16并基于大小密钥,密文插入)插入每16字节密文中,并且这种插入很容易被检测到通过统计方法,我需要一种智能算法来将密钥插入密文中,或者一种方法类似于隐写术,但载体是文本而不是图像.

我已经用Google搜索过,但是找不到解决方案或文档.

帮帮我,编辑->删除了电子邮件

I have a project about cryptography.

I want to create a program by C# to embed a secret key into ciphertext, suppose, i had encrypted message to ciphertext c by algorithm Encryption as DES with key k, now i want to insert key k into ciphertext c, my problem: i don''t know what algorithm or technical to do it, a algorithm random insertion or a logic technical, and my purpose is middle-man(actacker) can''t understand key in ciphertext which contained key, and of course program allows get key from keyed ciphertext.

i.e: i have a key 8 byte, a ciphertext 128 byte, program will insert into every 16 byte ciphertext with 1 byte key(128/8=16 and inserting base on size key, ciphertext) and this inserting is very easy to be detected by Statistics method, i need a smart algorithm to insert key into ciphertext, or a method is similar steganography but carrier is text instead image.

i have searched by google, but i don''t find solution or document.

help me, EDIT -> removed email

推荐答案


这篇关于用文字发布隐写术的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 04:06
查看更多