Playfair Cipher
1.not even the large number of keys in a monoalphabetic cipher provides security
2.one approach to improving security was to encrypt multiple letters
3.the Playfair Cipher is an example
4.invented by Charles Wheatstone in 1854,but named after his friend Baron Playfair
Playfair Key Matrix
1.a 5X5 matrix of letters based on a keyword
2.fill in letters of keyword (sans duplicates)
3.fill rest of matrix with other letters
Encrypting and Decrypting
-plaintext is encrypted two letters at a time
1. if a pair is a repeated letter, insert filler like X’
2. if both letters fall in the same row, replace each with letter to right (wrapping back to start from end)
3. if both letters fall in the same column, replace each with the letter below it (again wrapping to top from
bottom)
4. otherwise each letter is replaced by the letter in the same row and in the column of the other letter of the pair
This is a simple algorithm that downloads trading data from yahoo database. It is basically a large scale application of sqq.m which was originally submitted by Michael Boldin, link at acknowledgements.
Some of the functionalities of the package:
- User defined ticker list.
- Function for downloading most recent SP500 composition in ticker list.
- Control for bad data (e.g. a certain percentage of prices missing).
- Choice of frequency of data (e.g. weekly prices).
- Choice of starting and ending data.
- Function for saving the whole data in a pre-formatted excel file together with a full reports on missing data.
MATSNL is a package of MATLAB M-files for computing wireless sensor node lifetime/power budget and solving optimal node architecture choice problems. It is intended as an analysis and simulation tool for researchers and educators that are easy to use and modify. MATSNL is designed to give the rough power/ lifetime predictions based on node and application specifications while giving useful insight on platform design for the large node lifetime by providing side-by-side comparison across various platforms. The MATSNL code and manual can be found at the bottom of this page. A related list of publications describing the models used in MATSNL is posted on the ENALAB part of the 2 project at http://www.eng.yale.edu/enalab/aspire.htm
Some time during my development works I had the need of printing the contents of a ListView control. So I wrote down the code for a custom control, named PrintableListView, that solved the following two problems:
* extend the print on multiple pages when the width of the list exceeds the width of the print page,
* shrink, optionally, the list in a way that the resulting width fits o
Besides enhanced looks and advanced features, one of the best things about Swing is its pluggable look and feel (PLAF). PLAF architecture allows seamless changes in the appearance of an application and the way an application interacts with the user. However, designing and developing a PLAF is much more exhaustive and complex. On the other hand, themes provide a simple alternative to change look and feel of the swing application. Themes are easier to implement and they enhance the visual appeal of the application UI using the default Java look and feel.
Theme mechanism allows a developer to easily specify the default colors, fonts and icons used by the look and feel (L&F). It allows developers to write their own themes giving them a choice to show their application GUI the way they want it, rather than depending on the defaults provided by the system.
MATSNL is a package of MATLAB M-files for computing wireless sensor node
lifetime/power budget and solving optimal node architecture choice problems. It is intended
as an analysis and simulation tool for researchers and educators that are easy to use and
modify. MATSNL is designed to give the rough power/ lifetime predictions based on node
and application specifications while giving useful insight on platform design for the large
node lifetime by providing side-by-side comparison across various platforms.
This should again compile without problems. We finally need to configure a logging system - Hibernate uses
commons logging and leaves you the choice between Log4j and JDK 1.4 logging. Most developers prefer
Log4j: copy log4j.properties
problem of blind demodulation of multiuser
information symbols in a high-rate code-division multiple-access
(CDMA) network in the presence of both multiple-access interference
(MAI) and intersymbol interference (ISI) is considered.
This software is developed to provide ease with controller design. For PID control, options are given
to design and analyse the compensated and uncompensated system. You are free to choice among Proportional
PI, PD and PID mode of control. Both frequency and time domain characteristics can be observed. Special
Menus are given to observe time and frequency response plots. For Statefeedback controller similar options
are given. But this is limited to second order system only.