des-maintenace-test.txt
资源名称:des.zip [点击查看]
上传用户:zhh515
上传日期:2007-01-06
资源大小:966k
文件大小:1k
源码类别:
加密解密
开发平台:
C/C++
- From msuinfo!agate!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!news.kei.com!babbage.ece.uc.edu!mary.iia.org!rtp.vnet.net!news1.digex.net!access3!lehimes Wed May 4 23:50:24 1994
- Path: msuinfo!agate!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!news.kei.com!babbage.ece.uc.edu!mary.iia.org!rtp.vnet.net!news1.digex.net!access3!lehimes
- From: lehimes@access.digex.net (Larry Himes)
- Newsgroups: sci.crypt
- Subject: Re: DES Implementation Question
- Date: 3 May 1994 21:17:42 -0400
- Organization: Express Access Online Communications, Greenbelt, MD USA
- Lines: 15
- Message-ID: <lehimes.768014130@access3>
- References: <2pve6o$dta@mojo.eng.umd.edu>
- NNTP-Posting-Host: access3.digex.net
- Keywords: DES
- Here is a quick C-like description of the DES Maintenance Test:
- Let Key = all 0x55;
- Let Input = all 0xFF;
- Let FinalResult = 0x24 0x6E 0x9D 0xB9 0xC5 0x50 0x38 0x1A ;
- for (i = 1 to 64 by 1) {
- Let Temp1 = ECB Encryption of Input by Key
- Let Temp2 = ECB Encryption of Temp1 by Key
- Let Temp3 = ECB Decryption of Temp1 by Temp2
- Let Key = Temp3
- Let Input = Temp1
- } End for loop;
- if (Temp2 == FinalResult) Pass else Fail;