AES-192
Mode=AES-ECB
Key=48C3B428 6FF421A4 A328E68A D9E542A4 5D07291B 0B73E5EB 2FBDDA93 4EC4346C
Cipher= CE6907E1877033D36B199B6821CAD630322C0AB5D0621ED308FAFA171279C86D
解密:
hint:
#include <stdio.h>
#include <stdlib.h>
#include <cryptoki.h>
#include <string.h>
int main()
{
char HEX[]="48C3B4286FF421A4A328E68AD9E542A45D07291B0B73E5EB2FBDDA934EC4346C";
CK_BYTE key[32];
char tmp[3];
for (int i=0; i<32; i++)
{
tmp[0]=HEX[2*i];
tmp[1]=HEX[2*i+1];
tmp[2]='\0';
sscanf(tmp, "%x", &key[i]);
printf("%#3x ", key[i]);
}
system("Pause");
return 0;
}
herrDeng網內搜尋
自訂搜尋
Ads
2010年4月21日 星期三
2010年4月14日 星期三
2010年4月6日 星期二
2010年4月1日 星期四
世界程式語言排名
| Programming Language | Position Mar 2010 | Position Mar 2006 | Position Mar 2000 | Position Mar 1985 |
|---|---|---|---|---|
| Java | 1 | 1 | 3 | - |
| C | 2 | 2 | 2 | 1 |
| PHP | 3 | 4 | 14 | - |
| C++ | 4 | 3 | 1 | 9 |
| (Visual) Basic | 5 | 5 | 4 | 3 |
| C# | 6 | 7 | 22 | - |
| Python | 7 | 8 | - | - |
| Perl | 8 | 6 | 5 | - |
| Delphi | 9 | 9 | 7 | - |
| JavaScript | 10 | 10 | 13 | - |
感謝林孟文老師告知,資料取於http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
2010年3月18日 星期四
2010年2月25日 星期四
2009年12月24日 星期四
訂閱:
文章 (Atom)
熱門文章
-
test請留言! 到第十前,都沒說對!提示一下: 形態轉換int->float int sum=596; average=(double)sum/10; average=sum/10; 有何不同?
-
請問何謂非對稱性密碼? 並列舉五種以上非對稱密碼的演算法名稱。
-
ECTJGJMUGEFVHZYLQFMQKKXFYIOSNLOJVSAFYSJLWIYUFJSDER FIDTCKSDFSITUMGOWJLZJZPBKLCIVVDYVICGRBFBYSXMRAOBHZ GQXQXCQAFPSXCGYJTJSHUINWPPLIJISZNNQCBV...
-
請將執行結果貼出>
-
請問你所使的電腦,CPU的規格 Cache多大?其他硬體配置...... 另外, "INTEL® XEON PHI™ 處理器 7230F"的大致規格為?
-
輸入字串陣列a[0],a[1],...a[4] 利用Java Class LinkedList 作初一鏈結串列: [ a[0], a[1], a[2], a[4], a[4],a[3],a[2],a[0] ] Hint:可利用方法addFirst, add, remo...
-
C字串練習 字串 char word[]="You win!"; 輸出為: You win! You win You wi You w You You Yo Y 給進階使用者: gets () 是個危險的函式!
-
請輸出如下 * ** *** **** ***** ******