问题描述
我有一个关于密码学的项目.
我想用C#创建一个程序以将秘密密钥嵌入密文中,假设我已通过算法用密钥k加密为DES加密了密文c的消息,现在我想将密钥k插入密文c中,我的问题是:我不知道``不知道该使用哪种算法或技术,算法是随机插入还是逻辑技术,我的目的是中间人(actacker)无法理解包含密钥的密文中的密钥,当然程序允许获取密钥来自密文.
我已经被Google搜索过,但是找不到解决方法.
帮助我,[email protected]
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 have searched by google, but i don''t find solution.
help me, [email protected]
推荐答案
这篇关于如何将密钥隐藏为密文的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!