|
请问DES编码器
多谢各位大侠的帮忙,现在我的问题已经解决了。 我的问题如1楼所述,我测试了近十个测试矢量,其中7个我的编码结果密文和答案吻合,其他3个不对。开始一直不知道问题所在,后来用错误矢量一步一步排查,终于发现做到第4个round时候sbox2的输出出错。我再检查sbox2发现是我的sbox2写错了一个数。 由于只错了这样一个小地方,所以我测试的近十个测试矢量中其他7个有可能刚好在sbox2这个数上是相同的,所以都显示正常了。另外3个测试矢量开始的3个round这个错误也没有显示出来,一直到第四个round才与结果不符。 希望看到我的经历后以此为鉴。 |
|
请问DES编码器
最初由 CCDebuger 发布 感谢CCDebuger!我是用硬件做的编码器,现在还没有查出问题。你能给我传一个DES软件编码器吗?我想和我的DES硬件编码器对照一下 谢谢了 我的邮箱xiaoyao2xian@163.com 如果哪位大哥有软件DES编码器的程序可否传一个,最好是带源程序的,这样我可以调试的时候看每一轮的输出,把它和我硬件的每一轮输出对比一下。 |
|
|
|
请问DES编码器
多谢多谢 我的编码器编出的密文都是第二个 请问一般是因为什么原因,可以造成DES的密码编码器能够有些测试矢量编出的密文对,但是有些密文确编错啊? 我想一个编码器写出来,能够64bit的密文编对一个就可以说明这个编码器是正确的吧。但是我现在出现的情况是一共试了10个测试矢量,有7个可以正确编码,但是有三个不行。这会是什么原因呢? 谢谢 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值