能力值:
(RANK:760 )
|
-
-
7 楼
Done! Find it :-)
line 1 ff0d9541
line 2 81a01cfe
line 3 fffbfd0e
line 4 a6fc82ca
:D
干脆把源代码也贴上算了 Visual C++.net环境下编译通过
D:D
#include <iostream.h>
#define ROTATE_RIGHT(x,n) (((x)>>(n) | ((x)<<(32-(n)))))
typedef unsigned long int UINT4;
main()
{
UINT4 test1[256]={
0xFF0D9541,0xFE81A01C,0xFD0EFFFB,0xFC82CAA6,0xFB0B412E,0xFA877473,0xF9082B94,0xF8841EC9,0xF701269F,0xF68D13C2,0xF5024C25,0xF48E7978,0xF307F2F0,0xF28BC7AD,0xF104984A,0xF088AD17,
0xEF15E8E6,0xEE99DDBB,0xED16825C,0xEC9AB701,0xEB133C89,0xEA9F09D4,0xE9105633,0xE89C636E,0xE7195B38,0xE6956E65,0xE51A3182,0xE49604DF,0xE31F8F57,0xE293BA0A,0xE11CE5ED,0xE090D0B0,
0xDF3D6F14,0xDEB15A49,0xDD3E05AE,0xDCB230F3,0xDB3BBB7B,0xDAB78E26,0xD938D1C1,0xD8B4E49C,0xD731DCCA,0xD6BDE997,0xD532B670,0xD4BE832D,0xD33708A5,0xD2BB3DF8,0xD134621F,0xD0B85742,
0xCF2512B3,0xCEA927EE,0xCD267809,0xCCAA4D54,0xCB23C6DC,0xCAAFF381,0xC920AC66,0xC8AC993B,0xC729A16D,0xC6A59430,0xC52ACBD7,0xC4A6FE8A,0xC32F7502,0xC2A3405F,0xC12C1FB8,0xC0A02AE5,
0xBF6D7AEB,0xBEE14FB6,0xBD6E1051,0xBCE2250C,0xBB6BAE84,0xBAE79BD9,0xB968C43E,0xB8E4F163,0xB761C935,0xB6EDFC68,0xB562A38F,0xB4EE96D2,0xB3671D5A,0xB2EB2807,0xB16477E0,0xB0E842BD,
0xAF75074C,0xAEF93211,0xAD766DF6,0xACFA58AB,0xAB73D323,0xAAFFE67E,0xA970B999,0xA8FC8CC4,0xA779B492,0xA6F581CF,0xA57ADE28,0xA4F6EB75,0xA37F60FD,0xA2F355A0,0xA17C0A47,0xA0F03F1A,
0x9F5D80BE,0x9ED1B5E3,0x9D5EEA04,0x9CD2DF59,0x9B5B54D1,0x9AD7618C,0x99583E6B,0x98D40B36,0x97513360,0x96DD063D,0x955259DA,0x94DE6C87,0x9357E70F,0x92DBD252,0x91548DB5,0x90D8B8E8,
0x8F45FD19,0x8EC9C844,0x8D4697A3,0x8CCAA2FE,0x8B432976,0x8ACF1C2B,0x894043CC,0x88CC7691,0x87494EC7,0x86C57B9A,0x854A247D,0x84C61120,0x834F9AA8,0x82C3AFF5,0x814CF012,0x80C0C54F,
0x7FCD500E,0x7E416553,0x7DCE3AB4,0x7C420FE9,0x7BCB8461,0x7A47B13C,0x79C8EEDB,0x7844DB86,0x77C1E3D0,0x764DD68D,0x75C2896A,0x744EBC37,0x73C737BF,0x724B02E2,0x71C45D05,0x70486858,
0x6FD52DA9,0x6E5918F4,0x6DD64713,0x6C5A724E,0x6BD3F9C6,0x6A5FCC9B,0x69D0937C,0x685CA621,0x67D99E77,0x6655AB2A,0x65DAF4CD,0x6456C190,0x63DF4A18,0x62537F45,0x61DC20A2,0x605015FF,
0x5FFDAA5B,0x5E719F06,0x5DFEC0E1,0x5C72F5BC,0x5BFB7E34,0x5A774B69,0x59F8148E,0x587421D3,0x57F11985,0x567D2CD8,0x55F2733F,0x547E4662,0x53F7CDEA,0x527BF8B7,0x51F4A750,0x5078920D,
0x4FE5D7FC,0x4E69E2A1,0x4DE6BD46,0x4C6A881B,0x4BE30393,0x4A6F36CE,0x49E06929,0x486C5C74,0x47E96422,0x4665517F,0x45EA0E98,0x44663BC5,0x43EFB04D,0x42638510,0x41ECDAF7,0x4060EFAA,
0x3FADBFA4,0x3E218AF9,0x3DAED51E,0x3C22E043,0x3BAB6BCB,0x3A275E96,0x39A80171,0x3824342C,0x37A10C7A,0x362D3927,0x35A266C0,0x342E539D,0x33A7D815,0x322BED48,0x31A4B2AF,0x302887F2,
0x2FB5C203,0x2E39F75E,0x2DB6A8B9,0x2C3A9DE4,0x2BB3166C,0x2A3F2331,0x29B07CD6,0x283C498B,0x27B971DD,0x26354480,0x25BA1B67,0x24362E3A,0x23BFA5B2,0x223390EF,0x21BCCF08,0x2030FA55,
0x1F9D45F1,0x1E1170AC,0x1D9E2F4B,0x1C121A16,0x1B9B919E,0x1A17A4C3,0x1998FB24,0x1814CE79,0x1791F62F,0x161DC372,0x15929C95,0x141EA9C8,0x13972240,0x121B171D,0x119448FA,0x10187DA7,
0x0F853856,0x0E090D0B,0x0D8652EC,0x0C0A67B1,0x0B83EC39,0x0A0FD964,0x09808683,0x080CB3DE,0x07898B88,0x0605BED5,0x058AE132,0x0406D46F,0x038F5FE7,0x02036ABA,0x018C355D,0x00000000,
};
UINT4 test4[256]={0};
UINT4 test3[256]={0};
UINT4 test2[256]={0};
UINT4 tem;
UINT4 result=0x97094E32;
for(int i=0;i<256;i++)
{
test4[i]=ROTATE_RIGHT(test1[i],8); // 4,1,2,3
test3[i]=ROTATE_RIGHT(test1[i],16); //3,4,1,2
test2[i]=ROTATE_RIGHT(test1[i],24); //2,3,4,1
}
for(int k=0;k<256;k++)
{
for(int m=0;m<256;m++)
{
for(int n=0;n<256;n++)
{
for(int f=0;f<256;f++)
{
tem=(test1[k]^test2[m]^test3[n]^test4[f]);
if(tem==result)
{
cout<<"Done! Find it :-)"<<endl;
cout<<"line 1 "<<hex<<test1[k]<<endl;
cout<<"line 2 "<<hex<<test2[m]<<endl;
cout<<"line 3 "<<hex<<test3[n]<<endl;
cout<<"line 4 "<<hex<<test4[f]<<endl;
return 1;
}
}
}
}
}
return 0;
}
|
能力值:
( LV4,RANK:50 )
|
-
-
12 楼
在网上找了一下,发现数据是刚上传附件中的一部分,
在DCL DD TD0(0:255) CHAR(4) BDRY(8) INIT中
帮忙看一下是什么算法。
我上传的这组数据是排过序的,下面是原始的:
X'51F4A750', X'7E416553', X'1A17A4C3', X'3A275E96',
X'3BAB6BCB', X'1F9D45F1', X'ACFA58AB', X'4BE30393',
X'2030FA55', X'AD766DF6', X'88CC7691', X'F5024C25',
X'4FE5D7FC', X'C52ACBD7', X'26354480', X'B562A38F',
X'DEB15A49', X'25BA1B67', X'45EA0E98', X'5DFEC0E1',
X'C32F7502', X'814CF012', X'8D4697A3', X'6BD3F9C6',
X'038F5FE7', X'15929C95', X'BF6D7AEB', X'955259DA',
X'D4BE832D', X'587421D3', X'49E06929', X'8EC9C844',
X'75C2896A', X'F48E7978', X'99583E6B', X'27B971DD',
X'BEE14FB6', X'F088AD17', X'C920AC66', X'7DCE3AB4',
X'63DF4A18', X'E51A3182', X'97513360', X'62537F45',
X'B16477E0', X'BB6BAE84', X'FE81A01C', X'F9082B94',
X'70486858', X'8F45FD19', X'94DE6C87', X'527BF8B7',
X'AB73D323', X'724B02E2', X'E31F8F57', X'6655AB2A',
X'B2EB2807', X'2FB5C203', X'86C57B9A', X'D33708A5',
X'302887F2', X'23BFA5B2', X'02036ABA', X'ED16825C',
X'8ACF1C2B', X'A779B492', X'F307F2F0', X'4E69E2A1',
X'65DAF4CD', X'0605BED5', X'D134621F', X'C4A6FE8A',
X'342E539D', X'A2F355A0', X'058AE132', X'A4F6EB75',
X'0B83EC39', X'4060EFAA', X'5E719F06', X'BD6E1051',
X'3E218AF9', X'96DD063D', X'DD3E05AE', X'4DE6BD46',
X'91548DB5', X'71C45D05', X'0406D46F', X'605015FF',
X'1998FB24', X'D6BDE997', X'894043CC', X'67D99E77',
X'B0E842BD', X'07898B88', X'E7195B38', X'79C8EEDB',
X'A17C0A47', X'7C420FE9', X'F8841EC9', X'00000000',
X'09808683', X'322BED48', X'1E1170AC', X'6C5A724E',
X'FD0EFFFB', X'0F853856', X'3DAED51E', X'362D3927',
X'0A0FD964', X'685CA621', X'9B5B54D1', X'24362E3A',
X'0C0A67B1', X'9357E70F', X'B4EE96D2', X'1B9B919E',
X'80C0C54F', X'61DC20A2', X'5A774B69', X'1C121A16',
X'E293BA0A', X'C0A02AE5', X'3C22E043', X'121B171D',
X'0E090D0B', X'F28BC7AD', X'2DB6A8B9', X'141EA9C8',
X'57F11985', X'AF75074C', X'EE99DDBB', X'A37F60FD',
X'F701269F', X'5C72F5BC', X'44663BC5', X'5BFB7E34',
X'8B432976', X'CB23C6DC', X'B6EDFC68', X'B8E4F163',
X'D731DCCA', X'42638510', X'13972240', X'84C61120',
X'854A247D', X'D2BB3DF8', X'AEF93211', X'C729A16D',
X'1D9E2F4B', X'DCB230F3', X'0D8652EC', X'77C1E3D0',
X'2BB3166C', X'A970B999', X'119448FA', X'47E96422',
X'A8FC8CC4', X'A0F03F1A', X'567D2CD8', X'223390EF',
X'87494EC7', X'D938D1C1', X'8CCAA2FE', X'98D40B36',
X'A6F581CF', X'A57ADE28', X'DAB78E26', X'3FADBFA4',
X'2C3A9DE4', X'5078920D', X'6A5FCC9B', X'547E4662',
X'F68D13C2', X'90D8B8E8', X'2E39F75E', X'82C3AFF5',
X'9F5D80BE', X'69D0937C', X'6FD52DA9', X'CF2512B3',
X'C8AC993B', X'10187DA7', X'E89C636E', X'DB3BBB7B',
X'CD267809', X'6E5918F4', X'EC9AB701', X'834F9AA8',
X'E6956E65', X'AAFFE67E', X'21BCCF08', X'EF15E8E6',
X'BAE79BD9', X'4A6F36CE', X'EA9F09D4', X'29B07CD6',
X'31A4B2AF', X'2A3F2331', X'C6A59430', X'35A266C0',
X'744EBC37', X'FC82CAA6', X'E090D0B0', X'33A7D815',
X'F104984A', X'41ECDAF7', X'7FCD500E', X'1791F62F',
X'764DD68D', X'43EFB04D', X'CCAA4D54', X'E49604DF',
X'9ED1B5E3', X'4C6A881B', X'C12C1FB8', X'4665517F',
X'9D5EEA04', X'018C355D', X'FA877473', X'FB0B412E',
X'B3671D5A', X'92DBD252', X'E9105633', X'6DD64713',
X'9AD7618C', X'37A10C7A', X'59F8148E', X'EB133C89',
X'CEA927EE', X'B761C935', X'E11CE5ED', X'7A47B13C',
X'9CD2DF59', X'55F2733F', X'1814CE79', X'73C737BF',
X'53F7CDEA', X'5FFDAA5B', X'DF3D6F14', X'7844DB86',
X'CAAFF381', X'B968C43E', X'3824342C', X'C2A3405F',
X'161DC372', X'BCE2250C', X'283C498B', X'FF0D9541',
X'39A80171', X'080CB3DE', X'D8B4E49C', X'6456C190',
X'7BCB8461', X'D532B670', X'486C5C74', X'D0B85742'
|