当前位置:   article > 正文

SHA1和MD5_sha1转md5

sha1转md5
  1. #ifndef SHA1_H
  2. #define SHA1_H
  3. #include "stdint.h"
  4. //! #定义SHA 中的返回ENUM
  5. /*
  6. @see enum
  7. */
  8. #ifndef _SHA_enum_
  9. #define _SHA_enum_
  10. enum
  11. {
  12. shaSuccess = 0,
  13. /*! <空指示参量 */
  14. shaNull,
  15. /*! < 输入数据太长提示 */
  16. shaInputTooLong,
  17. /*! <called Input after Result --以输入结果命名之 */
  18. shaStateError
  19. };
  20. #endif
  21. //! SHA1HashSize定义的是SHA1哈希表的大小
  22. #define SHA1HashSize 20
  23. //! #能够进行动态链接库编译的SHA1
  24. /*!
  25. @see class _declspec(dllexport) SHA_1
  26. 将SHA1算法写成动态链接库的形式方便调用,生成消息使用
  27. */
  28. class _declspec(dllexport) SHA_1
  29. {
  30. public:
  31. //! #定义数据结构控制上下文消息 SHA1Context
  32. /*!
  33. 以下这种结构将会控制上下文消息 for the SHA-1
  34. hashing operation
  35. @see struct SHA1Context
  36. */
  37. typedef struct SHA1Context
  38. {
  39. uint32_t Intermediate_Hash[SHA1HashSize/4]; /*! <Message Digest */
  40. uint32_t Length_Low; /*! <Message length in bits */
  41. uint32_t Length_High; /*! <Message length in bits */
  42. /*! <Index into message block array */
  43. int_least16_t Message_Block_Index;
  44. uint8_t Message_Block[64]; /*! <512-bit message blocks */
  45. int Computed; /*! <Is the digest computed? */
  46. int Corrupted; /*! <Is the message digest corrupted? */
  47. } SHA1Context;
  48. public:
  49. //! #SHA_1 的构造函数
  50. /*!
  51. @see SHA_1()
  52. 其中应该对SHA_1类中的一些变量进行相应的初始化
  53. */
  54. SHA_1();
  55. //! #SHA_1的析构函数
  56. /*!
  57. @see ~SHA_1()
  58. 释放内存
  59. */
  60. ~SHA_1(void);
  61. /*----------------------------------函数原型----------------------------------*/
  62. //! #SHA1算法中的数据填充模块
  63. /*!
  64. @see void SHA1PadMessage(SHA1Context *);
  65. @param[SHA1Context* 定义填充信息指针
  66. @return[void] 不返回任何值
  67. */
  68. void SHA1PadMessage(SHA1Context *); /* 定义填充信息指针 */
  69. //! #SHA1的消息块描述函数
  70. /*!
  71. @see void SHA1ProcessMessageBlock(SHA1Context *);
  72. @param[SHA1Context* 定义填充信息指针
  73. @param[in] 消息块长度为固定之512比特
  74. @return[void] 不返回任何值
  75. */
  76. void SHA1ProcessMessageBlock(SHA1Context *);
  77. //! #SHA1的数据初始化操作函数
  78. /*!
  79. @see int SHA1Reset( SHA1Context *);
  80. @param[SHA1Context* 定义填充信息指针
  81. @return[int] 成功返回shaNull,失败返回shaSuccess
  82. @see SHA1 enum
  83. */
  84. int SHA1Reset( SHA1Context *);
  85. //! #SHA1的输入描述函数
  86. /*!
  87. @see int SHA1Input( SHA1Context *, const uint8_t *, unsigned int);
  88. @param[SHA1Context* 定义填充信息指针
  89. @param[uint8_t 接收单位长度为8字节倍数的消息
  90. @return[enum] 成功返回shaNull,失败返回shaSuccess,错误返回shaStateError
  91. @see SHA1 enum
  92. */
  93. int SHA1Input( SHA1Context *, const uint8_t *, unsigned int);
  94. //! #SHA1的结果描述函数
  95. /*!
  96. @see int SHA1Result( SHA1Context *, uint8_t Message_Digest[SHA1HashSize]);
  97. @param[SHA1Context* 定义填充信息指针
  98. @param[uint8_t 160比特的消息摘要队列
  99. @attention 返回一个160比特的消息摘要队列
  100. @return[enum] 成功返回shaNull,失败返回shaSuccess,错误返回shaStateError
  101. @see SHA1 enum
  102. */
  103. int SHA1Result( SHA1Context *, uint8_t Message_Digest[SHA1HashSize]);
  104. private:
  105. };
  106. #endif // SHA1_H
  1. #include "SHA1.h"
  2. /*!以下所用各种参量名称皆为sha-1在出版物上所用之公用名称 */
  3. /*
  4. * 以下是为 SHA1 向左环形移位宏 之定义
  5. */
  6. #define SHA1CircularShift(bits,word) \
  7. (((word) << (bits)) | ((word) >> (32-(bits))))
  8. SHA_1::SHA_1()
  9. {
  10. }
  11. SHA_1::~SHA_1(void)
  12. {
  13. }
  14. /*
  15. * 以下为sha-1消息块描述:
  16. * 消息块长度为固定之512比特
  17. */
  18. void SHA_1::SHA1ProcessMessageBlock(SHA1Context *context)
  19. {
  20. const uint32_t K[] = { /* Constants defined in SHA-1 */
  21. 0x5A827999,
  22. 0x6ED9EBA1,
  23. 0x8F1BBCDC,
  24. 0xCA62C1D6
  25. };
  26. int t; /* 循环计数 */
  27. uint32_t temp; /* 临时缓存 */
  28. uint32_t W[80]; /* 字顺序 */
  29. uint32_t A, B, C, D, E; /* 设置系统磁盘缓存块 */
  30. /*
  31. * 以下为初始化在W队列中的头16字数据
  32. */
  33. for(t = 0; t < 16; t++)
  34. {
  35. W[t] = context->Message_Block[t * 4] << 24;
  36. W[t] |= context->Message_Block[t * 4 + 1] << 16;
  37. W[t] |= context->Message_Block[t * 4 + 2] << 8;
  38. W[t] |= context->Message_Block[t * 4 + 3];
  39. }
  40. for(t = 16; t < 80; t++)
  41. {
  42. W[t] = SHA1CircularShift(1,W[t-3] ^ W[t-8] ^ W[t-14] ^ W[t-16]);
  43. }
  44. A = context->Intermediate_Hash[0];
  45. B = context->Intermediate_Hash[1];
  46. C = context->Intermediate_Hash[2];
  47. D = context->Intermediate_Hash[3];
  48. E = context->Intermediate_Hash[4];
  49. /*
  50. * 以下为定义算法所用之数学函数及其迭代算法描述
  51. */
  52. for(t = 0; t < 20; t++)
  53. {
  54. temp = SHA1CircularShift(5,A) +
  55. ((B & C) | ((~B) & D)) + E + W[t] + K[0];
  56. E = D;
  57. D = C;
  58. C = SHA1CircularShift(30,B);
  59. B = A;
  60. A = temp;
  61. }
  62. for(t = 20; t < 40; t++)
  63. {
  64. temp = SHA1CircularShift(5,A) + (B ^ C ^ D) + E + W[t] + K[1];
  65. E = D;
  66. D = C;
  67. C = SHA1CircularShift(30,B);
  68. B = A;
  69. A = temp;
  70. }
  71. for(t = 40; t < 60; t++)
  72. {
  73. temp = SHA1CircularShift(5,A) +
  74. ((B & C) | (B & D) | (C & D)) + E + W[t] + K[2];
  75. E = D;
  76. D = C;
  77. C = SHA1CircularShift(30,B);
  78. B = A;
  79. A = temp;
  80. }
  81. for(t = 60; t < 80; t++)
  82. {
  83. temp = SHA1CircularShift(5,A) + (B ^ C ^ D) + E + W[t] + K[3];
  84. E = D;
  85. D = C;
  86. C = SHA1CircularShift(30,B);
  87. B = A;
  88. A = temp;
  89. }
  90. /*
  91. * 以下为迭代算法第80步(最后一步)描述
  92. */
  93. context->Intermediate_Hash[0] += A;
  94. context->Intermediate_Hash[1] += B;
  95. context->Intermediate_Hash[2] += C;
  96. context->Intermediate_Hash[3] += D;
  97. context->Intermediate_Hash[4] += E;
  98. context->Message_Block_Index = 0;
  99. }
  100. /*
  101. * SHA1PadMessage
  102. * 数据填充模块
  103. */
  104. void SHA_1::SHA1PadMessage(SHA1Context *context)
  105. {
  106. if (context->Message_Block_Index > 55)
  107. {
  108. context->Message_Block[context->Message_Block_Index++] = 0x80;
  109. while(context->Message_Block_Index < 64)
  110. {
  111. context->Message_Block[context->Message_Block_Index++] = 0;
  112. }
  113. SHA1ProcessMessageBlock(context);
  114. while(context->Message_Block_Index < 56)
  115. {
  116. context->Message_Block[context->Message_Block_Index++] = 0;
  117. }
  118. }
  119. else
  120. {
  121. context->Message_Block[context->Message_Block_Index++] = 0x80;
  122. while(context->Message_Block_Index < 56)
  123. {
  124. context->Message_Block[context->Message_Block_Index++] = 0;
  125. }
  126. }
  127. /*
  128. * 把最后64位保存为数据长度
  129. */
  130. context->Message_Block[56] = context->Length_High >> 24;
  131. context->Message_Block[57] = context->Length_High >> 16;
  132. context->Message_Block[58] = context->Length_High >> 8;
  133. context->Message_Block[59] = context->Length_High;
  134. context->Message_Block[60] = context->Length_Low >> 24;
  135. context->Message_Block[61] = context->Length_Low >> 16;
  136. context->Message_Block[62] = context->Length_Low >> 8;
  137. context->Message_Block[63] = context->Length_Low;
  138. SHA1ProcessMessageBlock(context);
  139. }
  140. /*
  141. * SHA1Reset
  142. *
  143. * 以下为数据初始化之操作
  144. * Parameters:(参数设置)
  145. * context: [in/out]
  146. * The context to reset.
  147. *
  148. */
  149. int SHA_1::SHA1Reset(SHA1Context *context)
  150. {
  151. if (!context)
  152. {
  153. return shaNull;
  154. }
  155. context->Length_Low = 0;
  156. context->Length_High = 0;
  157. context->Message_Block_Index = 0;
  158. context->Intermediate_Hash[0] = 0x67452301;
  159. context->Intermediate_Hash[1] = 0xEFCDAB89;
  160. context->Intermediate_Hash[2] = 0x98BADCFE;
  161. context->Intermediate_Hash[3] = 0x10325476;
  162. context->Intermediate_Hash[4] = 0xC3D2E1F0;
  163. context->Computed = 0;
  164. context->Corrupted = 0;
  165. return shaSuccess;
  166. }
  167. /*
  168. * SHA1Result
  169. *
  170. * 以下为sha-1结果描述:
  171. *:
  172. * 该算法将会返回一个160比特的消息摘要队列
  173. *
  174. * 或者输出计算错误
  175. *
  176. */
  177. int SHA_1::SHA1Result( SHA1Context *context,
  178. uint8_t Message_Digest[SHA1HashSize])
  179. {
  180. int i;
  181. if (!context || !Message_Digest)
  182. {
  183. return shaNull;
  184. }
  185. if (context->Corrupted)
  186. {
  187. return context->Corrupted;
  188. }
  189. if (!context->Computed)
  190. {
  191. SHA1PadMessage(context);
  192. for(i=0; i<64; ++i)
  193. {
  194. /* 消息清零 */
  195. context->Message_Block[i] = 0;
  196. }
  197. context->Length_Low = 0; /* 长度清零 */
  198. context->Length_High = 0;
  199. context->Computed = 1;
  200. }
  201. for(i = 0; i < SHA1HashSize; ++i)
  202. {
  203. Message_Digest[i] = context->Intermediate_Hash[i>>2]
  204. >> 8 * ( 3 - ( i & 0x03 ) );
  205. }
  206. return shaSuccess;
  207. }
  208. /*
  209. * 以下为sha-1输入描述:
  210. *
  211. * 接收单位长度为8字节倍数的消息
  212. *
  213. */
  214. int SHA_1::SHA1Input( SHA1Context *context,
  215. const uint8_t *message_array,
  216. unsigned length)
  217. {
  218. if (!length)
  219. {
  220. return shaSuccess;
  221. }
  222. if (!context || !message_array)
  223. {
  224. return shaNull;
  225. }
  226. if (context->Computed)
  227. {
  228. context->Corrupted = shaStateError;
  229. return shaStateError;
  230. }
  231. if (context->Corrupted)
  232. {
  233. return context->Corrupted;
  234. }
  235. while(length-- && !context->Corrupted)
  236. {
  237. context->Message_Block[context->Message_Block_Index++] =
  238. (*message_array & 0xFF);
  239. context->Length_Low += 8;
  240. if (context->Length_Low == 0)
  241. {
  242. context->Length_High++;
  243. if (context->Length_High == 0)
  244. {
  245. /* Message is too long */
  246. context->Corrupted = 1;
  247. }
  248. }
  249. if (context->Message_Block_Index == 64)
  250. {
  251. SHA1ProcessMessageBlock(context);
  252. }
  253. message_array++;
  254. }
  255. return shaSuccess;
  256. }
  1. #ifndef MD5_H
  2. #define MD5_H
  3. typedef struct
  4. {
  5. unsigned int count[2];
  6. unsigned int state[4];
  7. unsigned char buffer[64];
  8. } MD5_CTX;
  9. #define F(x,y,z) ((x & y) | (~x & z))
  10. #define G(x,y,z) ((x & z) | (y & ~z))
  11. #define H(x,y,z) (x^y^z)
  12. #define I(x,y,z) (y ^ (x | ~z))
  13. #define ROTATE_LEFT(x,n) ((x << n) | (x >> (32-n)))
  14. #define FF(a,b,c,d,x,s,ac) \
  15. { \
  16. a += F(b,c,d) + x + ac; \
  17. a = ROTATE_LEFT(a,s); \
  18. a += b; \
  19. }
  20. #define GG(a,b,c,d,x,s,ac) \
  21. { \
  22. a += G(b,c,d) + x + ac; \
  23. a = ROTATE_LEFT(a,s); \
  24. a += b; \
  25. }
  26. #define HH(a,b,c,d,x,s,ac) \
  27. { \
  28. a += H(b,c,d) + x + ac; \
  29. a = ROTATE_LEFT(a,s); \
  30. a += b; \
  31. }
  32. #define II(a,b,c,d,x,s,ac) \
  33. { \
  34. a += I(b,c,d) + x + ac; \
  35. a = ROTATE_LEFT(a,s); \
  36. a += b; \
  37. }
  38. void MD5Init(MD5_CTX *context);
  39. void MD5Update(MD5_CTX *context, unsigned char *input, unsigned int inputlen);
  40. void MD5Final(MD5_CTX *context, unsigned char digest[16]);
  41. void MD5Transform(unsigned int state[4], unsigned char block[64]);
  42. void MD5Encode(unsigned char *output, unsigned int *input, unsigned int len);
  43. void MD5Decode(unsigned int *output, unsigned char *input, unsigned int len);
  44. #endif
  45. #include "md5.h"
  46. #include <memory.h>
  47. #include <stdlib.h>
  48. #include <stdio.h>
  49. #include<fcntl.h>
  50. unsigned char PADDING[] =
  51. {
  52. 0x80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  53. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  54. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  55. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  56. };
  57. void MD5Init(MD5_CTX *context)
  58. {
  59. context->count[0] = 0;
  60. context->count[1] = 0;
  61. context->state[0] = 0x67452301;
  62. context->state[1] = 0xEFCDAB89;
  63. context->state[2] = 0x98BADCFE;
  64. context->state[3] = 0x10325476;
  65. }
  66. void MD5Update(MD5_CTX *context, unsigned char *input, unsigned int inputlen)
  67. {
  68. unsigned int i = 0;
  69. unsigned int index = 0;
  70. unsigned int partlen = 0;
  71. index = (context->count[0] >> 3) & 0x3F;
  72. partlen = 64 - index;
  73. context->count[0] += inputlen << 3;
  74. if(context->count[0] < (inputlen << 3))
  75. context->count[1]++;
  76. context->count[1] += inputlen >> 29;
  77. if(inputlen >= partlen)
  78. {
  79. memcpy(&context->buffer[index], input,partlen);
  80. MD5Transform(context->state, context->buffer);
  81. for(i = partlen; i+64 <= inputlen; i+=64)
  82. MD5Transform(context->state, &input[i]);
  83. index = 0;
  84. }
  85. else
  86. {
  87. i = 0;
  88. }
  89. memcpy(&context->buffer[index], &input[i], inputlen-i);
  90. }
  91. void MD5Final(MD5_CTX *context, unsigned char digest[16])
  92. {
  93. unsigned int index = 0,padlen = 0;
  94. unsigned char bits[8];
  95. index = (context->count[0] >> 3) & 0x3F;
  96. padlen = (index < 56)?(56-index):(120-index);
  97. MD5Encode(bits, context->count, 8);
  98. MD5Update(context, PADDING, padlen);
  99. MD5Update(context, bits, 8);
  100. MD5Encode(digest, context->state, 16);
  101. }
  102. void MD5Encode(unsigned char *output,unsigned int *input,unsigned int len)
  103. {
  104. unsigned int i = 0;
  105. unsigned int j = 0;
  106. while(j < len)
  107. {
  108. output[j] = input[i] & 0xFF;
  109. output[j+1] = (input[i] >> 8) & 0xFF;
  110. output[j+2] = (input[i] >> 16) & 0xFF;
  111. output[j+3] = (input[i] >> 24) & 0xFF;
  112. i++;
  113. j += 4;
  114. }
  115. }
  116. void MD5Decode(unsigned int *output, unsigned char *input, unsigned int len)
  117. {
  118. unsigned int i = 0;
  119. unsigned int j = 0;
  120. while(j < len)
  121. {
  122. output[i] = (input[j]) |
  123. (input[j+1] << 8) |
  124. (input[j+2] << 16) |
  125. (input[j+3] << 24);
  126. i++;
  127. j += 4;
  128. }
  129. }
  130. void MD5Transform(unsigned int state[4], unsigned char block[64])
  131. {
  132. unsigned int a = state[0];
  133. unsigned int b = state[1];
  134. unsigned int c = state[2];
  135. unsigned int d = state[3];
  136. unsigned int x[64];
  137. MD5Decode(x,block,64);
  138. FF(a, b, c, d, x[ 0], 7, 0xd76aa478); /* 1 */
  139. FF(d, a, b, c, x[ 1], 12, 0xe8c7b756); /* 2 */
  140. FF(c, d, a, b, x[ 2], 17, 0x242070db); /* 3 */
  141. FF(b, c, d, a, x[ 3], 22, 0xc1bdceee); /* 4 */
  142. FF(a, b, c, d, x[ 4], 7, 0xf57c0faf); /* 5 */
  143. FF(d, a, b, c, x[ 5], 12, 0x4787c62a); /* 6 */
  144. FF(c, d, a, b, x[ 6], 17, 0xa8304613); /* 7 */
  145. FF(b, c, d, a, x[ 7], 22, 0xfd469501); /* 8 */
  146. FF(a, b, c, d, x[ 8], 7, 0x698098d8); /* 9 */
  147. FF(d, a, b, c, x[ 9], 12, 0x8b44f7af); /* 10 */
  148. FF(c, d, a, b, x[10], 17, 0xffff5bb1); /* 11 */
  149. FF(b, c, d, a, x[11], 22, 0x895cd7be); /* 12 */
  150. FF(a, b, c, d, x[12], 7, 0x6b901122); /* 13 */
  151. FF(d, a, b, c, x[13], 12, 0xfd987193); /* 14 */
  152. FF(c, d, a, b, x[14], 17, 0xa679438e); /* 15 */
  153. FF(b, c, d, a, x[15], 22, 0x49b40821); /* 16 */
  154. /* Round 2 */
  155. GG(a, b, c, d, x[ 1], 5, 0xf61e2562); /* 17 */
  156. GG(d, a, b, c, x[ 6], 9, 0xc040b340); /* 18 */
  157. GG(c, d, a, b, x[11], 14, 0x265e5a51); /* 19 */
  158. GG(b, c, d, a, x[ 0], 20, 0xe9b6c7aa); /* 20 */
  159. GG(a, b, c, d, x[ 5], 5, 0xd62f105d); /* 21 */
  160. GG(d, a, b, c, x[10], 9, 0x2441453); /* 22 */
  161. GG(c, d, a, b, x[15], 14, 0xd8a1e681); /* 23 */
  162. GG(b, c, d, a, x[ 4], 20, 0xe7d3fbc8); /* 24 */
  163. GG(a, b, c, d, x[ 9], 5, 0x21e1cde6); /* 25 */
  164. GG(d, a, b, c, x[14], 9, 0xc33707d6); /* 26 */
  165. GG(c, d, a, b, x[ 3], 14, 0xf4d50d87); /* 27 */
  166. GG(b, c, d, a, x[ 8], 20, 0x455a14ed); /* 28 */
  167. GG(a, b, c, d, x[13], 5, 0xa9e3e905); /* 29 */
  168. GG(d, a, b, c, x[ 2], 9, 0xfcefa3f8); /* 30 */
  169. GG(c, d, a, b, x[ 7], 14, 0x676f02d9); /* 31 */
  170. GG(b, c, d, a, x[12], 20, 0x8d2a4c8a); /* 32 */
  171. /* Round 3 */
  172. HH(a, b, c, d, x[ 5], 4, 0xfffa3942); /* 33 */
  173. HH(d, a, b, c, x[ 8], 11, 0x8771f681); /* 34 */
  174. HH(c, d, a, b, x[11], 16, 0x6d9d6122); /* 35 */
  175. HH(b, c, d, a, x[14], 23, 0xfde5380c); /* 36 */
  176. HH(a, b, c, d, x[ 1], 4, 0xa4beea44); /* 37 */
  177. HH(d, a, b, c, x[ 4], 11, 0x4bdecfa9); /* 38 */
  178. HH(c, d, a, b, x[ 7], 16, 0xf6bb4b60); /* 39 */
  179. HH(b, c, d, a, x[10], 23, 0xbebfbc70); /* 40 */
  180. HH(a, b, c, d, x[13], 4, 0x289b7ec6); /* 41 */
  181. HH(d, a, b, c, x[ 0], 11, 0xeaa127fa); /* 42 */
  182. HH(c, d, a, b, x[ 3], 16, 0xd4ef3085); /* 43 */
  183. HH(b, c, d, a, x[ 6], 23, 0x4881d05); /* 44 */
  184. HH(a, b, c, d, x[ 9], 4, 0xd9d4d039); /* 45 */
  185. HH(d, a, b, c, x[12], 11, 0xe6db99e5); /* 46 */
  186. HH(c, d, a, b, x[15], 16, 0x1fa27cf8); /* 47 */
  187. HH(b, c, d, a, x[ 2], 23, 0xc4ac5665); /* 48 */
  188. /* Round 4 */
  189. II(a, b, c, d, x[ 0], 6, 0xf4292244); /* 49 */
  190. II(d, a, b, c, x[ 7], 10, 0x432aff97); /* 50 */
  191. II(c, d, a, b, x[14], 15, 0xab9423a7); /* 51 */
  192. II(b, c, d, a, x[ 5], 21, 0xfc93a039); /* 52 */
  193. II(a, b, c, d, x[12], 6, 0x655b59c3); /* 53 */
  194. II(d, a, b, c, x[ 3], 10, 0x8f0ccc92); /* 54 */
  195. II(c, d, a, b, x[10], 15, 0xffeff47d); /* 55 */
  196. II(b, c, d, a, x[ 1], 21, 0x85845dd1); /* 56 */
  197. II(a, b, c, d, x[ 8], 6, 0x6fa87e4f); /* 57 */
  198. II(d, a, b, c, x[15], 10, 0xfe2ce6e0); /* 58 */
  199. II(c, d, a, b, x[ 6], 15, 0xa3014314); /* 59 */
  200. II(b, c, d, a, x[13], 21, 0x4e0811a1); /* 60 */
  201. II(a, b, c, d, x[ 4], 6, 0xf7537e82); /* 61 */
  202. II(d, a, b, c, x[11], 10, 0xbd3af235); /* 62 */
  203. II(c, d, a, b, x[ 2], 15, 0x2ad7d2bb); /* 63 */
  204. II(b, c, d, a, x[ 9], 21, 0xeb86d391); /* 64 */
  205. state[0] += a;
  206. state[1] += b;
  207. state[2] += c;
  208. state[3] += d;
  209. }

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/不正经/article/detail/515553
推荐阅读
相关标签
  

闽ICP备14008679号