用維吉尼亞算法加密 /** * 維吉尼亞密碼算法(BigDecimal),加/解密處理后仍為BigDecimal類型,正負號和小數點不進行處理 * * @param str * 源BigDecimal * @param key * 密鑰,應為數字字符組成的字符串 * @param mode * 模式(加密or解密) * @return 加/解密后的BigDecimal
標簽: BigDecimal 算法 加密 密碼算法
上傳時間: 2013-12-23
上傳用戶:yyyyyyyyyy
Abstract七段顯示器在DE2可當成Verilog的console,做為16進位的輸出結果。Introduction使用環境:Quartus II 7.2 SP1 + DE2(Cyclone II EP2C35F627C6)簡單的使用switch當成2進位輸入,并用8位數的七段顯示器顯示16進位的結果。
標簽: Abstract Verilog console DE2
上傳時間: 2017-06-03
上傳用戶:zhangyigenius
//顏色初始化 if(!has_colors() || start_color() == ERR){ endwin() printf("Terminal does not support color.\n") exit(1) } init_pair(1, COLOR_GREEN, COLOR_BLACK) init_pair(2, COLOR_RED, COLOR_BLACK) init_pair(3, COLOR_CYAN, COLOR_BLACK) init_pair(4, COLOR_WHITE, COLOR_BLACK) init_pair(5, COLOR_MAGENTA, COLOR_BLACK) init_pair(6, COLOR_BLUE, COLOR_BLACK) init_pair(7, COLOR_YELLOW, COLOR_BLACK) //寫字符串 for(i = 1 i <= 7 i++) { attron(COLOR_PAIR(i)) printw("color pair d in normal mode\n", i) } for(i = 1 i <= 7 i++) { attron(COLOR_PAIR(i) | A_BLINK | A_UNDERLINE) printw("color pair d in normal mode\n", i) }
標簽: start_color has_colors Terminal endwin
上傳時間: 2014-01-14
上傳用戶:vodssv
The objective is to set up SPI communication between VTI Technologies digital pressure sensor component and an MCU of an application device ATMEGA16L. In this code example: ?The MCU is configured ?SCP1000-D01 is initialized and configured ?The high resolution measurement mode is activated ?Temperature and pressure information is read always when the DRDY pin is in high state Please refer to the document "SCP1000 Product Family Specification 8260800" for further information on SCP1000 register addressing and SPI communication. This document applies to the SCP1000-D01.
標簽: communication Technologies objective pressure
上傳時間: 2017-06-17
上傳用戶:youmo81
DES工作的基本原理是,其入口參數有三個:key、data、mode。 key為加密解密使用的密鑰,data為加密解密的數據,mode為其工作模式。當模式為加密模式時,明文按照64位進行分組,形成明文組,key用于對數據加密,當模式為解密模式時,key用于對數據解密。實際運用中,密鑰只用到了64位中的56位,這樣才具有高的安全性。
標簽: DES
上傳時間: 2014-11-22
上傳用戶:zukfu
Enter the Matrix MS-DOS screensaver. Sample of using bios functions (by int 10h) for text data output (monitor in the text mode) and keyboard input. Requires: Borland C++ 3.1 for DOS.
標簽: screensaver functions Matrix MS-DOS
上傳時間: 2013-11-29
上傳用戶:hopy
This document gives the code for programming a CC2500 transceiver using Altera Stratix FPGA. The FPGA and CC2500 are connected through SPI mode with the FPGA as the master and CC2500 as the slave.
標簽: programming transceiver document Stratix
上傳時間: 2014-01-15
上傳用戶:wuyuying
本函數在matlab實現阻抗圓圖,通過調用switch()函數,可以得出傳輸線的反射系數,以及支節匹配等參數,本函數可以實現單、雙和三支節匹配。
上傳時間: 2014-01-06
上傳用戶:jennyzai
This program requires the DSP2833x header files. // // This program requires an external I2C RTC connected to // the I2C bus at address 0x6f. // // As supplied, this project is configured for "boot to SARAM" // operation. The 2833x Boot Mode table is shown below. // For information on configuring the boot mode of an eZdsp, // please refer to the documentation included with the eZdsp,
標簽: requires program This external
上傳時間: 2017-07-12
上傳用戶:dianxin61
This program requires the DSP2833x header files. // // As supplied, this project is configured for "boot to SARAM" // operation. The 2833x Boot Mode table is shown below. // For information on configuring the boot mode of an eZdsp, // please refer to the documentation included with the eZdsp,
標簽: configured requires supplied program
上傳時間: 2014-01-10
上傳用戶:lixinxiang