RSA算法 :首先, 找出三個(gè)數(shù), p, q, r, 其中 p, q 是兩個(gè)相異的質(zhì)數(shù), r 是與 (p-1)(q-1) 互質(zhì)的數(shù)...... p, q, r 這三個(gè)數(shù)便是 person_key,接著, 找出 m, 使得 r^m == 1 mod (p-1)(q-1)..... 這個(gè) m 一定存在, 因?yàn)?r 與 (p-1)(q-1) 互質(zhì), 用輾轉(zhuǎn)相除法就可以得到了..... 再來(lái), 計(jì)算 n = pq....... m, n 這兩個(gè)數(shù)便是 public_key ,編碼過(guò)程是, 若資料為 a, 將其看成是一個(gè)大整數(shù), 假設(shè) a < n.... 如果 a >= n 的話, 就將 a 表成 s 進(jìn)位 (s
標(biāo)簽: person_key RSA 算法
上傳時(shí)間: 2013-12-14
上傳用戶:zhuyibin
按遞歸下降方式設(shè)計(jì)其編譯程序,生成PL/0棧式指令代碼,然后解釋執(zhí)行。用(a=1)+2*(b=3+4*5)/2+2*a*b-(a=a+5)/ (c=2) 測(cè)試
上傳時(shí)間: 2014-01-02
上傳用戶:firstbyte
這個(gè)程序可以掃描出來(lái)本機(jī)IP地址的版本號(hào)和類別,是IPV6還是IPV4,是A類還是B類還是C類
上傳時(shí)間: 2015-03-27
上傳用戶:星仔
IEEE1394Diag is a GUI application that presents a graphical view of an IEEE1394 network and provides the ability to perform common 1394 operations such as async reads, writes, isoc listens and talks, as well as configuration rom browsing of all nodes present on a bus.
標(biāo)簽: IEEE 1394 application graphical
上傳時(shí)間: 2015-04-02
上傳用戶:familiarsmile
This article is a very simple introduction writing a Windows Form application for the Microsoft.NET framework using C#. The sample application demonstrates how to create and layout controls on a simple form and the handling of mouse click events. The application displays a form showing attributes of a file. This form is similar to the properties dialog box of a file (Right click on a file and Click on Properties menu item). Since attributes of a file will be shown, the sample will show how to use File IO operations in .NET framework.
標(biāo)簽: introduction application Microsoft article
上傳時(shí)間: 2015-04-09
上傳用戶:www240697738
PID calculations for the _pid structure *a. This function uses the positional form of the pid equation, and incorporates an integral windup prevention algorithim. Rectangular integration is used, so this function must be repeated on a consistent time basis for accurate control.
標(biāo)簽: the calculations positional pid
上傳時(shí)間: 2014-01-16
上傳用戶:moerwang
prolog 找路例子程序: === === === === === === Part 1-Adding connections Part 2-Simple Path example | ?- path1(a,b,P,T). will produce the response: T = 15 P = [a,b] ? Part 3 - Non-repeating path As an example, the query: ?- path2(a,h,P,T). will succeed and may produce the bindings: P = [a,depot,b,d,e,f,h] T = 155 Part 4 - Generating a path below a cost threshold As an example, the query: ?- path_below_cost(a,[a,b,c,d,e,f,g,h],RS,300). returns: RS = [a,b,depot,c,d,e,g,f,h] ? RS = [a,c,depot,b,d,e,g,f,h] ? no ==================================
標(biāo)簽: Part connections example prolog
上傳時(shí)間: 2015-04-24
上傳用戶:ljt101007
裝備盒問(wèn)題。 大意是給出一個(gè)矩形地板,你有一個(gè)底面為矩形的盒子必須放在上面而不超過(guò)地板邊界。 現(xiàn)在給出地板的長(zhǎng)(X)和寬(Y),以及盒子的長(zhǎng)(a)和寬(b),問(wèn)是否可能達(dá)到要求(即放上去不超過(guò)邊界)
標(biāo)簽: 矩形
上傳時(shí)間: 2015-04-28
上傳用戶:gundamwzc
5 ledblink -- 跑馬燈程序 該項(xiàng)目在SDT2.51下編譯調(diào)試。最簡(jiǎn)單的demo程序,運(yùn)行后3個(gè)發(fā)光二極管輪流點(diǎn)亮。 6 timerint -- 定時(shí)器中斷demo程序 該項(xiàng)目在SDT2.51下編譯調(diào)試。將子目錄timerint拷貝到c:\ 下。 該demo程序的主程序是while空循環(huán),定時(shí)器中斷服務(wù)程序每500ms將3個(gè)LED反相。 在57600超級(jí)終端里也可以看到中斷發(fā)生時(shí)的信息。 7 uart -- 串口測(cè)試程序 該項(xiàng)目在SDT2.51下編譯調(diào)試。運(yùn)行后在57600的超級(jí)終端里等待PC鍵盤的輸入,當(dāng)按下 a 或 b 或 c 按鍵時(shí),超級(jí)終端里將顯示 You Pressed a ,You Pressed b ,You Pressed c .
標(biāo)簽: ledblink 2.51 demo SDT
上傳時(shí)間: 2015-05-05
上傳用戶:aix008
二分圖是一個(gè)無(wú)向圖,它的n 個(gè)頂點(diǎn)可二分為集合A和集合B,且同一集合中的任意兩個(gè)頂點(diǎn)在圖中無(wú)邊相連(即任何一條邊都是一個(gè)頂點(diǎn)在集合A中,另一個(gè)在集合B中)。當(dāng)且僅當(dāng)B中的每個(gè)頂點(diǎn)至少與A中一個(gè)頂點(diǎn)相連時(shí),A的一個(gè)子集A 覆蓋集合B(或簡(jiǎn)單地說(shuō),A 是一個(gè)覆蓋)。覆蓋A 的大小即為A 中的頂點(diǎn)數(shù)目。當(dāng)且僅當(dāng)A 是覆蓋B的子集中最小的時(shí),A 為最小覆蓋。
上傳時(shí)間: 2015-05-07
上傳用戶:alan-ee
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1