Here the viewers can find out the unknown facts and reasons for their questions.....
Showing posts with label Student Zone. Show all posts
Showing posts with label Student Zone. Show all posts
Thursday, February 4, 2010
4-2 Material
D.P MID 1 slides
file1 $$$$$ f1_ziddu
file2 $$$$$ f2_ziddu
file3 $$$$$ f3_ziddu
file4 $$$$$ f4_ziddu
UNIT 2 $$$$$ U2_ziddu
UNIT 3 $$$$$ U3_ziddu
UNIT 4 $$$$$ U4_ziddu
file1 $$$$$ f1_ziddu
file2 $$$$$ f2_ziddu
file3 $$$$$ f3_ziddu
file4 $$$$$ f4_ziddu
UNIT 2 $$$$$ U2_ziddu
UNIT 3 $$$$$ U3_ziddu
UNIT 4 $$$$$ U4_ziddu
Monday, November 9, 2009
4-1 related subjects
LAB Programs
IS Material------------------LATEST
****Information Security Slides****
$$$$ 4-1 EXTERNAL PAPERS $$$$
Multimedia and Application Development
Software Project Management
Mobile Computing
Embeded Systems
$$$$------------------------------$$$$
Image Processing
Mobile Computing
Embeded Systems
Friday, November 6, 2009
IP material and External papers
SOLUTIONS to Problems in Gonjalez book (given in previous papers)
CLICK HERE to Download
UNIT 1
UNIT 5
UNIT 4
UNIT 2
UNIT 3
EXTERNAL PAPERS
IP REGULAR
IP SUPPLY
CLICK HERE to Download
UNIT 1
UNIT 5
UNIT 4
UNIT 2
UNIT 3
EXTERNAL PAPERS
IP REGULAR
IP SUPPLY
Sunday, October 18, 2009
Friday, August 14, 2009
Sunday, June 21, 2009
Hill cipher analysis
The Hill cipher as discussed in the book on cryptography by William Stallings uses a square matrix K as a key in the encryption process. During decryption, however the inverse of the key matrix K is used. The author's explanation of finding out the inverse under modulo 26 is insufficient. Thus, in this article I will show you how to find out the inverse. In page 56 of the book the example matrix K is:
17 17 05
21 18 21
02 02 19
17 17 05
21 18 21
02 02 19
Finding the inverse of a matrix can be illustrated as a three step process:
1.Replace the original elements by the adjoint of that element in the matrix,
2.Transpose the matrix,
3.Divide every element by the determinant of the original matrix.
2.Transpose the matrix,
3.Divide every element by the determinant of the original matrix.
The adjoint of an element is the determinant of the submatrix that is formed on deleting the row and column in which the element. For example adjoint of 17 in the above matrix is:
(18*19)-(21*2)=300
Similarly on calculating the adjoint of other elements we get the following:
+300 -357 +006
-313 +313 +000
+267 -252 -051
(18*19)-(21*2)=300
Similarly on calculating the adjoint of other elements we get the following:
+300 -357 +006
-313 +313 +000
+267 -252 -051
We now transpose the above matrix to get the following:
+300 -313 +267
-357 +313 -252
+006 +000 -051
The determinant of the original matrix is -939. Now this is where hill cipher differs because all arithmetic must be done mod 26. The modulo operation can be defined as:
x mod y = x - y * floor(x/y)
Here floor(x) is the greatest integer lesser than or equal to x. Thus floor(13.5) is 13 and floor(-13.5) is -14. Thus,
-939 mod 26 = -939 - 26 * floor(-939/26) = 23.
Thus the final step now is to find the multiplicative inverse of 23 under mod 26 and multiply the result with every element of the transposed adjoint matrix. Suppose if the multiplicative inverse of 23 is x then by the definition of multiplicative inverse 23*x = 1 mod 26. That is if 23 is multiplied by x and then divided by 26 to yield a remainder of 1 then x is said to be the multiplicative inverse of 23 under mod 26.
Thus we need to find x such that:
23 * x = 1 mod 26.
This is equivalent to:
23 * x - 26 * y = 1 .........(1)
Here both x and y are integers.
Dividing (1) by 2 we get,
12*x - x/2 - 13*y = 1/2 .........(2)
This can be rewritten as:
12*x - 13*y -(x+1)/2 = 0 ..........(3)
The quantity (x+1)/2 must be and integer say 't'. Then x = 2t-1.
Substituting for x in (1) we get,
46*t - 23 - 26*y = 1
or
46*t - 26 *y = 24
or
23*t-13*y= 12.
23 * x = 1 mod 26.
This is equivalent to:
23 * x - 26 * y = 1 .........(1)
Here both x and y are integers.
Dividing (1) by 2 we get,
12*x - x/2 - 13*y = 1/2 .........(2)
This can be rewritten as:
12*x - 13*y -(x+1)/2 = 0 ..........(3)
The quantity (x+1)/2 must be and integer say 't'. Then x = 2t-1.
Substituting for x in (1) we get,
46*t - 23 - 26*y = 1
or
46*t - 26 *y = 24
or
23*t-13*y= 12.
Now we start subsituting values for t starting from 1 until y is an integer.
For ex, if t=1 above then y = 11/13 which is not an integer. We see that when t=9 then y=15 an integer.
Thus we have,
23*x-26*15=1
or
x = 391/15 = 17.
Thus 17 is the multiplicative inverse of -939 under mod 26.
Now 300 (which is the adjoint of the first element of the original matrix i.e. 17) must be mulitplied by the multiplicative inverse of -939.
300 * 17 = 5100.
5100 mod 26 = 4. The first element of the inverse matrix. Other elements of the inverse matrix can be found similarly. The inverse matrix is thus:
04 09 15
15 17 06
24 00 17.
Thank you for reading. Hope you have gained a better understanding of the Hill cipher.
Sunday, March 29, 2009
Monday, March 16, 2009
Sunday, March 15, 2009
MT assignment-3
| | Cross Language Integration: http://www.ziddu.com/download/3869285/CLI.rar.html First 3 questions: http://www.ziddu.com/download/3869286/mt.rar.html |
Monday, February 16, 2009
Sunday, February 15, 2009
Saturday, February 14, 2009
MT LAB Programs
http://rapidshare.com/files/197824586/MWTlab.rar
these r some of the mt lab prg's which are given in our syllabus book
Sunday, February 8, 2009
MT LAB PRGM'S
http://www.ziddu.com/download/3078672/MWTlab.rar.html
click this link to download our MT lab program's
click this link to download our MT lab program's
Friday, February 6, 2009
Thursday, February 5, 2009
Sunday, August 10, 2008
Engineering zone
JNTUZONE
NEW
3-1 I T Online papers
ACD
OOAD
CN
OS
WT
MEFA
JNTU
3-2 E C E Online papers
All
3-2 CSE online papers
UNIX
IS
All
3-2 E E E Onlinepapers
All
Examination Schedule
of all regulations
Download WINRAR you need this software to view papers properly(click here to download)
2-1&3-1 Previous papers
AC UNIX
STLD MEFA
EMTL
ET
JAVA
CS
JNTU e-mail to all college pricipals regarding conduction of online
Download here
NEW
3-1 I T Online papers
ACD
OOAD
CN
OS
WT
MEFA
JNTU
3-2 E C E Online papers
All
3-2 CSE online papers
UNIX
IS
All
3-2 E E E Onlinepapers
All
Examination Schedule
of all regulations
Download WINRAR you need this software to view papers properly(click here to download)
2-1&3-1 Previous papers
AC UNIX
STLD MEFA
EMTL
ET
JAVA
CS
JNTU e-mail to all college pricipals regarding conduction of online
Download here
Subscribe to:
Posts (Atom)