📄 bbs水木清华站∶精华区cpp.htm
字号:
<META content="MSHTML 5.00.2614.3500" name=GENERATOR></HEAD>
<BODY>
<CENTER>
<H1>BBS水木清华站∶精华区</H1></CENTER>发信人: orbix (小鱼), 信区: Hacker <BR>标 题: DES源程序之CPP <BR>发信站: BBS 水木清华站 (Mon Apr 20 22:55:02 1998) <BR> <BR>#include <mem.h> <BR>#include "des.h" <BR> <BR>int DES::encrypt ( char key[8], char* data, int blocks ) <BR>{ <BR> if ((!data)||(blocks<1)) <BR> return 0; <BR> deskey ( key, ENCRYPT ); <BR> des ( data, data, blocks); <BR> return 1; <BR>}; <BR> <BR>int DES::decrypt ( char key[8], char* data, int blocks ) <BR>{ <BR> if ((!data)||(blocks<1)) <BR> return 0; <BR> deskey ( key, DECRYPT ); <BR> des ( data, data, blocks); <BR> return 1; <BR>}; <BR> <BR>int DES::yencrypt ( char key[8], char* data, int size ) <BR>{ <BR> if ((!data)||(size<1)) <BR> return 0; <BR> <BR> // The last char of data is bitwise complemented and filled the rest <BR> // buffer.If size is 16, it will extend to 24,and 17 still 24. <BR> char lastChar = *(data+size-1); <BR> int blocks = size/8+1; <BR> memset (data+size, ~lastChar, blocks*8-size); <BR> deskey ( key, ENCRYPT ); <BR> return encrypt ( data, data, blocks); <BR>}; <BR> <BR>int DES::ydecrypt ( char key[8], char* data, int blocks, int* size ) <BR>{ <BR> if ( (!data) || (blocks<1) ) <BR> return 0; <BR> <BR> deskey ( key, DECRYPT ); <BR> if ( !decrypt ( data, data, blocks) ) <BR> return 0; <BR> if ( size != 0 ) <BR> { <BR> int pos = blocks*8-1; <BR> char endChar = data[pos]; <BR> while ((pos>0)&&(data[pos]==endChar)) <BR> pos--; <BR> if ( data[pos] != ~endChar ) <BR> return 0; <BR> *size = pos+1; <BR> } <BR> return 1; <BR>}; <BR> <BR>// ----------------------------------------------------------------------- <BR>// des <BR>// Encrpts/Decrypts(according to the key currently loaded int the <BR>// internal key register) SOME blocks of eight bytes at address 'in' <BR>// into the block at address 'out'. They can be the same. <BR>// <BR>// "in" <BR>// "out" <BR>// "block" Number of blocks. <BR>// ----------------------------------------------------------------------- <BR>void DES::des ( unsigned char* in, unsigned char* out, int blocks ) <BR>{ <BR> for (int i = 0; i < blocks; i++,in+=8,out+=8) <BR> des_block(in,out); <BR>}; <BR> <BR>// ----------------------------------------------------------------------- <BR>// des_block <BR>// Encrpts/Decrypts(according to the key currently loaded int the <BR>// internal key register) one block of eight bytes at address 'in' <BR>// into the block at address 'out'. They can be the same. <BR>// <BR>// "in" <BR>// "out" <BR>// ----------------------------------------------------------------------- <BR>void DES::des_block(unsigned char *in, unsigned char *out) <BR>{ <BR> unsigned long work[2]; <BR> <BR> scrunch(in, work); <BR> desfunc(work, KnL); <BR> unscrun(work, out); <BR>} <BR> <BR>// ---------------------------------------------------------------------- <BR>// deskey <BR>// Sets the internal key register (KnR) according to the hexadecimal <BR>// key contained in the 8 bytes of hexkey, according to the DES, <BR>// for encryption or decrytion according to MODE <BR>// <BR>// "key" is the 64 bits key. <BR>// "md" means encryption or decryption. <BR>// ---------------------------------------------------------------------- <BR>void DES::deskey(unsigned char key[8], Mode md) /* Thanks to James Gillogly & Phil Karn! */ <BR>{ <BR> register int i, j, l, m, n; <BR> unsigned char pc1m[56], pcr[56]; <BR> unsigned long kn[32]; <BR> <BR> for (j = 0; j < 56; j++) { <BR> l = pc1[j]; <BR> m = l & 07; <BR> pc1m[j] = (key[l >> 3] & bytebit[m]) ? 1:0; <BR> } <BR> for (i = 0; i < 16; i++) { <BR> if (md == DECRYPT) m = (15 - i) << 1; <BR> else m = i << 1; <BR> n = m + 1; <BR> kn[m] = kn[n] = 0L; <BR> for (j = 0; j < 28; j++) { <BR> l = j + totrot[i]; <BR> if (l < 28) pcr[j] = pc1m[l]; <BR> else pcr[j] = pc1m[l - 28]; <BR> } <BR> for (j = 28; j < 56; j++) { <BR> l = j + totrot[i]; <BR> if (l < 56) pcr[j] = pc1m[l]; <BR> else pcr[j] = pc1m[l - 28]; <BR> } <BR> for (j = 0; j < 24; j++) { <BR> if (pcr[ pc2[j] ]) kn[m] |= bigbyte[j]; <BR> if (pcr[ pc2[j+24] ]) kn[n] |= bigbyte[j]; <BR> } <BR> } <BR> cookey(kn); <BR> return; <BR>} <BR> <BR>// ---------------------------------------------------------------------- <BR>// cookey <BR>// Only called by deskey. <BR>// ----------------------------------------------------------------------- <BR>void DES::cookey(register unsigned long *raw1) <BR>{ <BR> register unsigned long *cook, *raw0; <BR> unsigned long dough[32]; <BR> register int i; <BR> <BR> cook = dough; <BR> for (i = 0; i < 16; i++, raw1++) { <BR> raw0 = raw1++; <BR> *cook = (*raw0 & 0x00fc0000L) << 6; <BR> *cook |= (*raw0 & 0x00000fc0L) << 10; <BR> *cook |= (*raw1 & 0x00fc0000L) >> 10; <BR> *cook++ |= (*raw1 & 0x00000fc0L) >> 6; <BR> *cook = (*raw0 & 0x0003f000L) << 12; <BR> *cook |= (*raw0 & 0x0000003fL) << 16; <BR> *cook |= (*raw1 & 0x0003f000L) >> 4; <BR> *cook++ |= (*raw1 & 0x0000003fL); <BR> } <BR> usekey(dough); <BR> return; <BR>} <BR> <BR>// ---------------------------------------------------------------------- <BR>// usekey <BR>// Only called by cookey. <BR>// Loads the interal key register with the data in cookedkey. <BR>// ----------------------------------------------------------------------- <BR>void DES::usekey(register unsigned long *from) <BR>{ <BR> register unsigned long *to, *endp; <BR> <BR> to = KnL, endp = &KnL[32]; <BR> while (to < endp) *to++ = *from++; <BR> return; <BR>} <BR> <BR>void DES::scrunch(register unsigned char *outof, register unsigned long *into ) <BR>{ <BR> *into = (*outof++ & 0xffL) << 24; <BR> *into |= (*outof++ & 0xffL) << 16; <BR> *into |= (*outof++ & 0xffL) << 8; <BR> *into++ |= (*outof++ & 0xffL); <BR> *into = (*outof++ & 0xffL) << 24; <BR> *into |= (*outof++ & 0xffL) << 16; <BR> *into |= (*outof++ & 0xffL) << 8; <BR> *into |= (*outof & 0xffL); <BR> return; <BR>} <BR> <BR>void DES::unscrun(register unsigned long *outof, register unsigned char *into) <BR>{ <BR> *into++ = (*outof >> 24) & 0xffL; <BR> *into++ = (*outof >> 16) & 0xffL; <BR> *into++ = (*outof >> 8) & 0xffL; <BR> *into++ = *outof++ & 0xffL; <BR> *into++ = (*outof >> 24) & 0xffL; <BR> *into++ = (*outof >> 16) & 0xffL; <BR> *into++ = (*outof >> 8) & 0xffL; <BR> *into = *outof & 0xffL; <BR> return; <BR>} <BR> <BR>void DES::desfunc(register unsigned long *block,register unsigned long *keys) <BR>{ <BR> register unsigned long fval, work, right, leftt; <BR> register int round; <BR> <BR> leftt = block[0]; <BR> right = block[1]; <BR> work = ((leftt >> 4) ^ right) & 0x0f0f0f0fL; <BR> right ^= work; <BR> leftt ^= (work << 4); <BR> work = ((leftt >> 16) ^ right) & 0x0000ffffL; <BR> right ^= work; <BR> leftt ^= (work << 16); <BR> work = ((right >> 2) ^ leftt) & 0x33333333L; <BR> leftt ^= work; <BR> right ^= (work << 2); <BR> work = ((right >> 8) ^ leftt) & 0x00ff00ffL; <BR> leftt ^= work; <BR> right ^= (work << 8); <BR> right = ((right << 1) | ((right >> 31) & 1L)) & 0xffffffffL; <BR> work = (leftt ^ right) & 0xaaaaaaaaL; <BR> leftt ^= work; <BR> right ^= work; <BR> leftt = ((leftt << 1) | ((leftt >> 31) & 1L)) & 0xffffffffL; <BR> <BR> for (round = 0; round < 8; round++) { <BR> work = (right << 28) | (right >> 4); <BR> work ^= *keys++; <BR> fval = SP7[work & 0x3fL]; <BR> fval |= SP5[(work >> 8) & 0x3fL]; <BR> fval |= SP3[(work >> 16) & 0x3fL]; <BR> fval |= SP1[(work >> 24) & 0x3fL]; <BR> work = right ^ *keys++; <BR> fval |= SP8[work & 0x3fL]; <BR> fval |= SP6[(work >> 8) & 0x3fL]; <BR> fval |= SP4[(work >> 16) & 0x3fL]; <BR> fval |= SP2[(work >> 24) & 0x3fL]; <BR> leftt ^= fval; <BR> work = (leftt << 28) | (leftt >> 4); <BR> work ^= *keys++; <BR> fval = SP7[work & 0x3fL]; <BR> fval |= SP5[(work >> 8) & 0x3fL]; <BR> fval |= SP3[(work >> 16) & 0x3fL]; <BR> fval |= SP1[(work >> 24) & 0x3fL]; <BR> work = leftt ^ *keys++; <BR> fval |= SP8[work & 0x3fL]; <BR> fval |= SP6[(work >> 8) & 0x3fL]; <BR> fval |= SP4[(work >> 16) & 0x3fL]; <BR> fval |= SP2[(work >> 24) & 0x3fL]; <BR> right ^= fval; <BR> } <BR> right = (right << 31) | (right >> 1); <BR> work = (leftt ^ right) & 0xaaaaaaaaL; <BR> leftt ^= work; <BR> right ^= work; <BR> leftt = (leftt << 31) | ( leftt >> 1); <BR> work = ((leftt >> 8) ^ right) & 0x00ff00ffL; <BR> right ^= work; <BR> leftt ^= (work << 8); <BR> work = ((leftt >> 2) ^ right) & 0x33333333L; <BR> right ^= work; <BR> leftt ^= (work << 2); <BR> work = ((right >> 16) ^ leftt) & 0x0000ffffL; <BR> leftt ^= work; <BR> right ^= (work << 16); <BR> work = ((right >> 4) ^ leftt) & 0x0f0f0f0fL; <BR> leftt ^= work; <BR> right ^= (work << 4); <BR> *block++ = right; <BR> *block = leftt; <BR> return; <BR>} <BR> <BR>// ----------------------------------------------------------------------- <BR>// Initial of static data members. These data will be used by all the <BR>// instances of class,and can not be changed. <BR>// ----------------------------------------------------------------------- <BR>unsigned char DES::Df_Key[24] = { <BR> 0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, <BR> 0xfe, 0xdc, 0xba, 0x98, 0x76, 0x54, 0x32, 0x10, <BR> 0x89, 0xab, 0xcd, 0xef, 0x01, 0x23, 0x45, 0x67 }; <BR> <BR>unsigned short DES::bytebit[8] = { <BR> 0200, 0100, 040, 020, 010, 04, 02, 01 }; <BR> <BR>unsigned long DES::bigbyte[24] = { <BR> 0x800000L, 0x400000L, 0x200000L, 0x100000L, <BR> 0x80000L, 0x40000L, 0x20000L, 0x10000L, <BR> 0x8000L, 0x4000L, 0x2000L, 0x1000L, <BR> 0x800L, 0x400L, 0x200L, 0x100L, <BR> 0x80L, 0x40L, 0x20L, 0x10L, <BR> 0x8L, 0x4L, 0x2L, 0x1L }; <BR> <BR>unsigned char DES::pc1[56] = { <BR> 56, 48, 40, 32, 24, 16, 8, 0, 57, 49, 41, 33, 25, 17, <BR> 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, <BR> 62, 54, 46, 38, 30, 22, 14, 6, 61, 53, 45, 37, 29, 21, <BR> 13, 5, 60, 52, 44, 36, 28, 20, 12, 4, 27, 19, 11, 3 }; <BR> <BR>unsigned char DES::totrot[16] = { <BR> 1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28 }; <BR> <BR>unsigned char DES::pc2[48] = { <BR> 13, 16, 10, 23, 0, 4, 2, 27, 14, 5, 20, 9, <BR> 22, 18, 11, 3, 25, 7, 15, 6, 26, 19, 12, 1, <BR> 40, 51, 30, 36, 46, 54, 29, 39, 50, 44, 32, 47, <BR> 43, 48, 38, 55, 33, 52, 45, 41, 49, 35, 28, 31 }; <BR> <BR>unsigned long DES::SP1[64] = { <BR> 0x01010400L, 0x00000000L, 0x00010000L, 0x01010404L, <BR> 0x01010004L, 0x00010404L, 0x00000004L, 0x00010000L, <BR> 0x00000400L, 0x01010400L, 0x01010404L, 0x00000400L, <BR> 0x01000404L, 0x01010004L, 0x01000000L, 0x00000004L, <BR> 0x00000404L, 0x01000400L, 0x01000400L, 0x00010400L, <BR> 0x00010400L, 0x01010000L, 0x01010000L, 0x01000404L, <BR> 0x00010004L, 0x01000004L, 0x01000004L, 0x00010004L, <BR> 0x00000000L, 0x00000404L, 0x00010404L, 0x01000000L, <BR> 0x00010000L, 0x01010404L, 0x00000004L, 0x01010000L, <BR> 0x01010400L, 0x01000000L, 0x01000000L, 0x00000400L, <BR> 0x01010004L, 0x00010000L, 0x00010400L, 0x01000004L, <BR> 0x00000400L, 0x00000004L, 0x01000404L, 0x00010404L, <BR> 0x01010404L, 0x00010004L, 0x01010000L, 0x01000404L, <BR> 0x01000004L, 0x00000404L, 0x00010404L, 0x01010400L, <BR> 0x00000404L, 0x01000400L, 0x01000400L, 0x00000000L, <BR> 0x00010004L, 0x00010400L, 0x00000000L, 0x01010004L }; <BR> <BR>unsigned long DES::SP2[64] = { <BR> 0x80108020L, 0x80008000L, 0x00008000L, 0x00108020L, <BR> 0x00100000L, 0x00000020L, 0x80100020L, 0x80008020L, <BR> 0x80000020L, 0x80108020L, 0x80108000L, 0x80000000L, <BR> 0x80008000L, 0x00100000L, 0x00000020L, 0x80100020L, <BR> 0x00108000L, 0x00100020L, 0x80008020L, 0x00000000L, <BR> 0x80000000L, 0x00008000L, 0x00108020L, 0x80100000L, <BR> 0x00100020L, 0x80000020L, 0x00000000L, 0x00108000L, <BR> 0x00008020L, 0x80108000L, 0x80100000L, 0x00008020L, <BR> 0x00000000L, 0x00108020L, 0x80100020L, 0x00100000L, <BR> 0x80008020L, 0x80100000L, 0x80108000L, 0x00008000L, <BR> 0x80100000L, 0x80008000L, 0x00000020L, 0x80108020L, <BR> 0x00108020L, 0x00000020L, 0x00008000L, 0x80000000L, <BR> 0x00008020L, 0x80108000L, 0x00100000L, 0x80000020L, <BR> 0x00100020L, 0x80008020L, 0x80000020L, 0x00100020L, <BR> 0x00108000L, 0x00000000L, 0x80008000L, 0x00008020L, <BR> 0x80000000L, 0x80100020L, 0x80108020L, 0x00108000L }; <BR> <BR>unsigned long DES::SP3[64] = { <BR> 0x00000208L, 0x08020200L, 0x00000000L, 0x08020008L, <BR> 0x08000200L, 0x00000000L, 0x00020208L, 0x08000200L, <BR> 0x00020008L, 0x08000008L, 0x08000008L, 0x00020000L, <BR> 0x08020208L, 0x00020008L, 0x08020000L, 0x00000208L, <BR> 0x08000000L, 0x00000008L, 0x08020200L, 0x00000200L, <BR> 0x00020200L, 0x08020000L, 0x08020008L, 0x00020208L, <BR> 0x08000208L, 0x00020200L, 0x00020000L, 0x08000208L, <BR> 0x00000008L, 0x08020208L, 0x00000200L, 0x08000000L, <BR> 0x08020200L, 0x08000000L, 0x00020008L, 0x00000208L, <BR> 0x00020000L, 0x08020200L, 0x08000200L, 0x00000000L, <BR> 0x00000200L, 0x00020008L, 0x08020208L, 0x08000200L, <BR> 0x08000008L, 0x00000200L, 0x00000000L, 0x08020008L, <BR> 0x08000208L, 0x00020000L, 0x08000000L, 0x08020208L, <BR> 0x00000008L, 0x00020208L, 0x00020200L, 0x08000008L, <BR> 0x08020000L, 0x08000208L, 0x00000208L, 0x08020000L, <BR> 0x00020208L, 0x00000008L, 0x08020008L, 0x00020200L }; <BR> <BR>unsigned long DES::SP4[64] = { <BR> 0x00802001L, 0x00002081L, 0x00002081L, 0x00000080L, <BR> 0x00802080L, 0x00800081L, 0x00800001L, 0x00002001L, <BR> 0x00000000L, 0x00802000L, 0x00802000L, 0x00802081L, <BR> 0x00000081L, 0x00000000L, 0x00800080L, 0x00800001L, <BR> 0x00000001L, 0x00002000L, 0x00800000L, 0x00802001L, <BR> 0x00000080L, 0x00800000L, 0x00002001L, 0x00002080L, <BR> 0x00800081L, 0x00000001L, 0x00002080L, 0x00800080L, <BR> 0x00002000L, 0x00802080L, 0x00802081L, 0x00000081L, <BR> 0x00800080L, 0x00800001L, 0x00802000L, 0x00802081L, <BR> 0x00000081L, 0x00000000L, 0x00000000L, 0x00802000L, <BR> 0x00002080L, 0x00800080L, 0x00800081L, 0x00000001L, <BR> 0x00802001L, 0x00002081L, 0x00002081L, 0x00000080L, <BR> 0x00802081L, 0x00000081L, 0x00000001L, 0x00002000L, <BR> 0x00800001L, 0x00002001L, 0x00802080L, 0x00800081L, <BR> 0x00002001L, 0x00002080L, 0x00800000L, 0x00802001L, <BR> 0x00000080L, 0x00800000L, 0x00002000L, 0x00802080L }; <BR> <BR>unsigned long DES::SP5[64] = { <BR> 0x00000100L, 0x02080100L, 0x02080000L, 0x42000100L, <BR> 0x00080000L, 0x00000100L, 0x40000000L, 0x02080000L, <BR> 0x40080100L, 0x00080000L, 0x02000100L, 0x40080100L, <BR> 0x42000100L, 0x42080000L, 0x00080100L, 0x40000000L, <BR> 0x02000000L, 0x40080000L, 0x40080000L, 0x00000000L, <BR> 0x40000100L, 0x42080100L, 0x42080100L, 0x02000100L, <BR> 0x42080000L, 0x40000100L, 0x00000000L, 0x42000000L, <BR> 0x02080100L, 0x02000000L, 0x42000000L, 0x00080100L, <BR> 0x00080000L, 0x42000100L, 0x00000100L, 0x02000000L, <BR> 0x40000000L, 0x02080000L, 0x42000100L, 0x40080100L, <BR> 0x02000100L, 0x40000000L, 0x42080000L, 0x02080100L, <BR> 0x40080100L, 0x00000100L, 0x02000000L, 0x42080000L, <BR> 0x42080100L, 0x00080100L, 0x42000000L, 0x42080100L, <BR> 0x02080000L, 0x00000000L, 0x40080000L, 0x42000000L, <BR> 0x00080100L, 0x02000100L, 0x40000100L, 0x00080000L, <BR> 0x00000000L, 0x40080000L, 0x02080100L, 0x40000100L }; <BR> <BR>unsigned long DES::SP6[64] = { <BR> 0x20000010L, 0x20400000L, 0x00004000L, 0x20404010L, <BR> 0x20400000L, 0x00000010L, 0x20404010L, 0x00400000L, <BR> 0x20004000L, 0x00404010L, 0x00400000L, 0x20000010L, <BR> 0x00400010L, 0x20004000L, 0x20000000L, 0x00004010L, <BR> 0x00000000L, 0x00400010L, 0x20004010L, 0x00004000L, <BR> 0x00404000L, 0x20004010L, 0x00000010L, 0x20400010L, <BR> 0x20400010L, 0x00000000L, 0x00404010L, 0x20404000L, <BR> 0x00004010L, 0x00404000L, 0x20404000L, 0x20000000L, <BR> 0x20004000L, 0x00000010L, 0x20400010L, 0x00404000L, <BR> 0x20404010L, 0x00400000L, 0x00004010L, 0x20000010L, <BR> 0x00400000L, 0x20004000L, 0x20000000L, 0x00004010L, <BR> 0x20000010L, 0x20404010L, 0x00404000L, 0x20400000L, <BR> 0x00404010L, 0x20404000L, 0x00000000L, 0x20400010L, <BR> 0x00000010L, 0x00004000L, 0x20400000L, 0x00404010L, <BR> 0x00004000L, 0x00400010L, 0x20004010L, 0x00000000L, <BR> 0x20404000L, 0x20000000L, 0x00400010L, 0x20004010L }; <BR> <BR>unsigned long DES::SP7[64] = { <BR> 0x00200000L, 0x04200002L, 0x04000802L, 0x00000000L, <BR> 0x00000800L, 0x04000802L, 0x00200802L, 0x04200800L, <BR> 0x04200802L, 0x00200000L, 0x00000000L, 0x04000002L, <BR> 0x00000002L, 0x04000000L, 0x04200002L, 0x00000802L, <BR> 0x04000800L, 0x00200802L, 0x00200002L, 0x04000800L, <BR> 0x04000002L, 0x04200000L, 0x04200800L, 0x00200002L, <BR> 0x04200000L, 0x00000800L, 0x00000802L, 0x04200802L, <BR> 0x00200800L, 0x00000002L, 0x04000000L, 0x00200800L, <BR> 0x04000000L, 0x00200800L, 0x00200000L, 0x04000802L, <BR> 0x04000802L, 0x04200002L, 0x04200002L, 0x00000002L, <BR> 0x00200002L, 0x04000000L, 0x04000800L, 0x00200000L, <BR> 0x04200800L, 0x00000802L, 0x00200802L, 0x04200800L, <BR> 0x00000802L, 0x04000002L, 0x04200802L, 0x04200000L, <BR> 0x00200800L, 0x00000000L, 0x00000002L, 0x04200802L, <BR> 0x00000000L, 0x00200802L, 0x04200000L, 0x00000800L, <BR> 0x04000002L, 0x04000800L, 0x00000800L, 0x00200002L }; <BR> <BR>unsigned long DES::SP8[64] = { <BR> 0x10001040L, 0x00001000L, 0x00040000L, 0x10041040L, <BR> 0x10000000L, 0x10001040L, 0x00000040L, 0x10000000L, <BR> 0x00040040L, 0x10040000L, 0x10041040L, 0x00041000L, <BR> 0x10041000L, 0x00041040L, 0x00001000L, 0x00000040L, <BR> 0x10040000L, 0x10000040L, 0x10001000L, 0x00001040L, <BR> 0x00041000L, 0x00040040L, 0x10040040L, 0x10041000L, <BR> 0x00001040L, 0x00000000L, 0x00000000L, 0x10040040L, <BR> 0x10000040L, 0x10001000L, 0x00041040L, 0x00040000L, <BR> 0x00041040L, 0x00040000L, 0x10041000L, 0x00001000L, <BR> 0x00000040L, 0x10040040L, 0x00001000L, 0x00041040L, <BR> 0x10001000L, 0x00000040L, 0x10000040L, 0x10040000L, <BR> 0x10040040L, 0x10000000L, 0x00040000L, 0x10001040L, <BR> 0x00000000L, 0x10041040L, 0x00040040L, 0x10000040L, <BR> 0x10040000L, 0x10001000L, 0x10001040L, 0x00000000L, <BR> 0x10041040L, 0x00041000L, 0x00041000L, 0x00001040L, <BR> 0x00001040L, 0x00040040L, 0x10000000L, 0x10041000L }; <BR> <BR>-- <BR>※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: cit.cs.sjtu.edu] <BR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -