RSA算法 :首先, 找出三個數, p, q, r, 其中 p, q 是兩個相異的質數, r 是與 (p-1)(q-1) 互質的數...... p, q, r 這三個數便是 person_key,接著, 找出 m, 使得 r^m == 1 mod (p-1)(q-1)..... 這個 m 一定存在, 因為 r 與 (p-1)(q-1) 互質, 用輾轉相除法就可以得到了..... 再來, 計算 n = pq....... m, n 這兩個數便是 public_key ,編碼過程是, 若資料為 a, 將其看成是一個大整數, 假設 a < n.... 如果 a >= n 的話, 就將 a 表成 s 進位 (s
標簽: person_key RSA 算法
上傳時間: 2013-12-14
上傳用戶:zhuyibin
現代譜估計用萊文森-德賓(Levinson-Durbin)算法求解尤利-沃克(Yule-Walker)方程。 形參說明: r:雙精度實型一維數組,存放Yule-Walker方程的元素r(0),r(1),...r(p)。 p:AR模型階數。 a:AR模型系數a(0),a(1),...a(p)。 v:預測誤差功率
標簽: Levinson-Durbin Yule-Walker 譜估計 算法
上傳時間: 2014-01-26
上傳用戶:ippler8
The IEEE Multipath Channel block simulates an indoor UWB channel as described in "A Channel Model for Ultrawideband Indoor Communications" by J.R. Foerster, M. Pendergrass and A.F. Molisch, November 2003, and attempts to incorporate the processes used in their MATLAB scripts.
標簽: Channel Multipath simulates described
上傳時間: 2015-05-08
上傳用戶:水中浮云
This a demo illustrating (1) 8-bit CRC check sums, (2) 57600,N,9,1 communications, and (3) RS-422/RS-485 communications.
標簽: communications illustrating 57600 check
上傳時間: 2014-01-06
上傳用戶:yiwen213
Simple SunPlus SP54 codec converter and a more playable mode MJPG. untar the archive go to the relevant directory to compile: just do make to install: with root account cp sp54convert /usr/local/bin to use: sp54convert infile outfile Enjoy !! Michel Xhaard <mxhaard@users.sourceforge.net> Till Adam <till@hubbahubba.de> Windows port: Piotr Pawlow <pp@siedziba.pl>
標簽: converter the playable SunPlus
上傳時間: 2013-12-30
上傳用戶:1079836864
加密算法 Test Driver for Crypto++, a C++ Class Library of Cryptographic Primitives: - To generate an RSA key cryptest g - To encrypt and decrypt a string using RSA cryptest r - To calculate MD5, SHS, and RIPEMD-160 message digests: cryptest m file - To encrypt and decrypt a string using DES-EDE in CBC mode: cryptest t - To encrypt or decrypt a file cryptest e|d input output - To share a file into shadows: cryptest s <pieces> <pieces-needed> file (make sure file has no extension, if you re running this under DOS) - To reconstruct a file from shadows: cryptest j output file1 file2 [....] - To gzip a file: cryptest z <compression-level> input output - To gunzip a file: cryptest u input output - To run validation tests: cryptest v - To run benchmarks: cryptest b [time for each benchmark in seconds]
標簽: Cryptographic Primitives generate Library
上傳時間: 2015-07-16
上傳用戶:wqxstar
zemax源碼: This DLL models a standard ZEMAX surface type, either plane, sphere, or conic The surface also demonstrates a user-defined apodization filter The filter is defined as part of the real ray trace, case 5 The filter can be used at the stop to produce x-y Gaussian apodization similar to the Gaussian pupil apodization in ZEMAX but separate in x and y. The amplitude apodization is of the form EXP[-(Gx(x/R)^2 + Gy(y/R)^2)] The transmission is of the form EXP[-2(Gx(x/R)^2 + Gy(y/R)^2)] where x^2 + y^2 = r^2 R = semi-diameter The tranmitted intensity is maximum in the center. T is set to 0 if semi-diameter < 1e-10 to avoid division by zero.
標簽: standard surface models either
上傳時間: 2013-12-05
上傳用戶:003030
R+樹的c實現源碼,對應文章T. K. Sellis, N. Roussopoulos, C. Faloutsos: The R+-Tree: A Dynamic Index for Multi-Dimensional Objects.
上傳時間: 2014-05-25
上傳用戶:sunjet
假定已經有許多應用采用了程序1 - 1 5中所定義的C u r r e n c y類,現在我們想要對C u r r e n c y類 的描述進行修改,使其應用頻率最高的兩個函數A d d和I n c r e m e n t可以運行得更快,從而提高應 用程序的執行速度。由于用戶僅能通過p u b l i c部分所提供的接口與C u r r e n c y類進行交互,
上傳時間: 2015-10-11
上傳用戶:BIBI
ch451 CH451 ?-|I¢…OA¨…(R)à?DIG0÷DIG7£μ÷–““? ?>>μ£ ±‰“??>>μ£°CH451?aefl¥μ£<<?£o…÷”<<0.5 ”¢¥ 2 ”¢μ -|I<<?“? SEG6°SEG0±‘ -|< G° A£ <<?“? SEG7 ‘ -|I– μ£<<?“? DIG7°DIG0± 8 ^ ?-|“ o£CH451“o…£8°8aeyμ¢oLED’£aú64?£¢<CH451a o…“‘O(R)?<<??÷ ?-|I<£¨¥-|÷Sflμ? ?-|
上傳時間: 2014-01-04
上傳用戶:頂得柱