RSA算法 :首先, 找出三個數(shù), p, q, r, 其中 p, q 是兩個相異的質(zhì)數(shù), r 是與 (p-1)(q-1) 互質(zhì)的數(shù)...... p, q, r 這三個數(shù)便是 person_key,接著, 找出 m, 使得 r^m == 1 mod (p-1)(q-1)..... 這個 m 一定存在, 因為 r 與 (p-1)(q-1) 互質(zhì), 用輾轉(zhuǎn)相除法就可以得到了..... 再來, 計算 n = pq....... m, n 這兩個數(shù)便是 public_key ,編碼過程是, 若資料為 a, 將其看成是一個大整數(shù), 假設(shè) a < n.... 如果 a >= n 的話, 就將 a 表成 s 進位 (s
標(biāo)簽: person_key RSA 算法
上傳時間: 2013-12-14
上傳用戶:zhuyibin
... Samsung’s ARM 900 S3C2440 Specs. Tech NewsSamsung Semiconductor, Inc. Source: Convergence Promotions Mobile Applications ... Samsung’s S3C2440 is the industry’s fastest ARM9? family core-based application processor. With an advanced CPU Core
標(biāo)簽: Semiconductor NewsSamsung Convergence Samsung
上傳時間: 2014-01-25
上傳用戶:ljmwh2000
《大型數(shù)據(jù)庫技術(shù):Oracle 9i高級程序設(shè)計教程》隨書光盤。 本書結(jié)合大量的實例,介紹如何利用Oracle來管理和維護數(shù)據(jù),以及使用JSP、PHP和C#開發(fā)C/S模式和B/S模式網(wǎng)絡(luò)數(shù)據(jù)庫應(yīng)用程序。全書分為管理篇、開發(fā)篇和實踐篇3個部分。管理篇和開發(fā)篇Oracle數(shù)據(jù)庫的管理和開發(fā)技術(shù);實踐篇完整地介紹使用JSP、PHP和C#開發(fā)的基于Oracle數(shù)據(jù)庫項目的實例。這些實例既可以作為獨立的系統(tǒng)運行,也可以取其中的一部分作為應(yīng)用軟件的一個模塊,具有很強的實用性。本書所附光盤內(nèi)容為本書的所涉及的源代碼。 本書適合Oracle數(shù)據(jù)庫管理員和應(yīng)用程序開發(fā)人員,以及對數(shù)據(jù)庫技術(shù)感興趣的讀者閱讀。
標(biāo)簽: Oracle 大型 光盤 數(shù)據(jù)庫技術(shù)
上傳時間: 2015-05-06
上傳用戶:xmsmh
數(shù)字運算,判斷一個數(shù)是否接近素數(shù) A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum of its digits divides its value. Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not. Input Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone. Output For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise. Sample Input 10 111 2 110 10 123 6 1000 8 2314 0 Sample Output yes yes no yes no
上傳時間: 2015-05-21
上傳用戶:daguda
Implemented BFS, DFS and A* To compile this project, use the following command: g++ -o search main.cpp Then you can run it: ./search The input is loaded from a input file in.txt Here is the format of the input file: The first line of the input file shoud contain two chars indicate the source and destination city for breadth first and depth first algorithm. The second line of input file shoud be an integer m indicate the number of connections for the map. Following m lines describe the map, each line represents to one connection in this form: dist city1 city2, which means there is a connection between city1 and city2 with the distance dist. The following input are for A* The following line contains two chars indicate the source and destination city for A* algorithm. Then there is an integer h indicate the number of heuristic. The following h lines is in the form: city dist which means the straight-line distance from the city to B is dist.
標(biāo)簽: Implemented following compile command
上傳時間: 2014-01-01
上傳用戶:lhc9102
一:需求分析 1. 問題描述 魔王總是使用自己的一種非常精練而抽象的語言講話,沒人能聽懂,但他的語言是可逐步解釋成人能聽懂的語言,因為他的語言是由以下兩種形式的規(guī)則由人的語言逐步抽象上去的: ----------------------------------------------------------- (1) a---> (B1)(B2)....(Bm) (2)[(op1)(p2)...(pn)]---->[o(pn)][o(p(n-1))].....[o(p1)o] ----------------------------------------------------------- 在這兩種形式中,從左到右均表示解釋.試寫一個魔王語言的解釋系統(tǒng),把 他的話解釋成人能聽得懂的話. 2. 基本要求: 用下述兩條具體規(guī)則和上述規(guī)則形式(2)實現(xiàn).設(shè)大寫字母表示魔王語言的詞匯 小寫字母表示人的語言的詞匯 希臘字母表示可以用大寫字母或小寫字母代換的變量.魔王語言可含人的詞匯. (1) B --> tAdA (2) A --> sae 3. 測試數(shù)據(jù): B(ehnxgz)B 解釋成 tsaedsaeezegexenehetsaedsae若將小寫字母與漢字建立下表所示的對應(yīng)關(guān)系,則魔王說的話是:"天上一只鵝地上一只鵝鵝追鵝趕鵝下鵝蛋鵝恨鵝天上一只鵝地上一只鵝". | t | d | s | a | e | z | g | x | n | h | | 天 | 地 | 上 | 一只| 鵝 | 追 | 趕 | 下 | 蛋 | 恨 |
上傳時間: 2014-12-02
上傳用戶:jkhjkh1982
The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical) of any level of nesting to XML format and vice versa. For example, >> project.name = MyProject >> project.id = 1234 >> project.param.a = 3.1415 >> project.param.b = 42 becomes with str=xml_format(project, off ) "<project> <name>MyProject</name> <id>1234</id> <param> <a>3.1415</a> <b>42</b> </param> </project>" On the other hand, if an XML string XStr is given, this can be converted easily to a MATLAB data type or structure V with the command V=xml_parse(XStr).
標(biāo)簽: converts Toolbox complex logical
上傳時間: 2016-02-12
上傳用戶:a673761058
This LDPC software is intended as an introduction to LDPC codes computer based simulation. The pseudo-random irregular low density parity check matrix is based on Radford M. Neal’s programs collection, which can be found in [1]. While Neal’s collection is well documented, in my opinion, C source codes are still overwhelming, especially if you are not knowledgeable in C language. My software is written for MATLAB, which is more readable than C. You may also want to refer to another MATLAB based LDPC source codes in [2], which has different flavor of code-writing style (in fact Arun has error in his log-likelihood decoder).
標(biāo)簽: LDPC introduction simulation software
上傳時間: 2014-01-14
上傳用戶:大融融rr
This LDPC software is intended as an introduction to LDPC codes computer based simulation. The pseudo-random irregular low density parity check matrix is based on Radford M. Neal’s programs collection, which can be found in [1]. While Neal’s collection is well documented, in my opinion, C source codes are still overwhelming, especially if you are not knowledgeable in C language. My software is written for MATLAB, which is more readable than C. You may also want to refer to another MATLAB based LDPC source codes in [2], which has different flavor of code-writing style (in fact Arun has error in his log-likelihood decoder).
標(biāo)簽: LDPC introduction simulation software
上傳時間: 2014-12-05
上傳用戶:change0329
This book is the culmination of more than 20 years of building, studying, and teaching real-time systems. The author’s travels have taken him to NASA, UPS, Lockheed Martin, the Canadian and Australian Defense Forces, MIT’s Charles Stark Draper Labs, and many other places. These visits and interactions with literally hundreds of students from such places as Boeing, Motorola, and Siemens have resulted in a wider understanding of real-time systems and particularly their real application. This book is, in essence, a compendium of these experiences. The author’s intent is to provide a practical framework for software engineers to design and implement real-time systems. This approach is somewhat different from that of other texts on the subject.
標(biāo)簽: culmination real-time building studying
上傳時間: 2014-01-01
上傳用戶:fnhhs
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1