Posts

Cryptography and Security

Your browser does not support the HTML5 canvas tag. Cryptography is the art and science of achieving security by encoding messages to make them non-readable. Cryptanalysis is the technique of decoding messages from a non-readable format back to readable format without knowing how they were initially converted from readable format to non-readable format. Cryptology is a combination of cryptography and cryptanalysis. Principles of Security:- 1)Confidentiality 2)Integrity 3)Authentication 4)Access control 5)Availability 6)Non-repudiation 7)Ethical and legal issues Types of attacks:- 1)General attacks-Criminal attacks,publicity attacks,legal attacks 2)Technical view-a)Theoretical concepts- I)Passive attacks-i)release of message contents ii)traffic analysis II)Active attacks-i)Interception,ii)Fabrication,iii)Modification,iv)Interruption 3)Program attack- a)Virus- A virus is a computer program that attaches itself to another legitimate program and causes damage to the...

My Biz card

Image

Logic Gates

Image
The logic gates have one or many input and only one output.The gates used to form integrated circuits (IC's) for digital circuit with combination and sequential of gates.this gates are of mainly 6 types .The three are basic gates and others are the prepared from basic gates called as derived gates.They are as follow:- I ) Basic gates :-                                i ) OR gate                                ii) AND gate                                iii)NOT gate II) Derived gates :-         ...

Number System

Number System The number system of a number is determined by the Radix of a number.Radix means the base of the number which is obtained by the number of symbols present in that number System.They are as follow:-   Sr.No. Number System Radix Symbols 1. Binary number System 2 0,1 2. Octal Number System 8 0,1,2,3,4,5,6,7 3. Decimal Number System 10 0,1,2,3,4,5,6,7,8,9 4. Hexadecimal Number System 16 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F 1.Binary Number System:- The number System with Radix 2 are said to be binary numbers.It contains only 2 symbols 0 and 1.For Examples (1110) 2 ,(1001) 2 ,(1101) 2 ,(1010) 2 ,(1010.111) 2 ,etc. 2.Octal Number System:- The number System with Radix 8 are said to be octal numbers.It contains 8 symbols 0,1,2,3,4,5,6 and 7.For Examples (257) 2 ,(346) 8 ,(412) 8 ,(728) 8 ,(72.39) 8 ,etc. 3.Decimal Number System:- The number System with Radix 10 are said to be decimal numbers.It contains 10 symbols 0,1,2,3,4,5,6,7,8 and 9.For Examples (123) 10 ,(7...

Visual Basic Examples

Image
Program 1:- To create Visual Basic application to find the area of rectangle. Code:-  Private Sub Command1_Click() Text3.Text = Text1.Text * Text2.Text End Sub Private Sub Command2_Click() Text1.Text = " " Text2.Text = " " Text3.Text = " " End Sub /*************************Output**************************/ Program 2:- To create Visual Basic application to average of 3 numbers. Design Window:- Code:- Private Sub Command1_Click() Text4.Text = Str((Val(Text1.Text) + Val(Text2.Text) + Val(Text3.Text)) / 3) End Sub Private Sub Command2_Click() Text1.Text = " " Text2.Text = " " Text3.Text = " " Text4.Text = " " End Sub Private Sub Command3_Click() Unload Me End Sub /*************************Output**************************/ Program 3: To create Visual Basic application to illustrate Date-Time functions. Code:- Private Sub Command1_Click () Text1.Text = Dat...

Qiuz Try It

Quiz :- 1. What does HTML stand for? Hyper Text Markup Language Home Tool Markup Language Hyperlinks and Text Markup Language Click here to Submit 2. Who is making the Web standards? Google The World Wide Web Consortium Microsoft Click here to Submit 3.Choose the correct HTML tag for the smallest heading:- <h6> <heading> <h1> Click here to Submit 4. What is the correct HTML tag for drawing horizontal line? <lb> <br> <hr> Click here to Submit 5.Inside which HTML element do we put the JavaScript? <script> <js> <javascript> Click here to Submit 6What is the correct JavaScript syntax to write "Hello World"? response.write("Hello World"); document.write("Hello World"); echo "Hello World"; Click here to Submit 7.Where is the correct place to insert a JavaScript? Both the <head> section and the <body> section are correct ...

Javascript Examples

Example1.html :- <HTML> <HEAD> <SCRIPT LANGUAGE="JavaScript"> function Hello() { alert("Hello,Welcome and  have a good day."); } </SCRIPT> </HEAD> <BODY> <INPUT TYPE="button" NAME="Button" VALUE="Press me" onClick="Hello()"> </BODY> </HTML> Output :- Example2.html :- <HTML> <HEAD> <SCRIPT LANGUAGE="JavaScript"> function Name()     {         var answer = prompt("What is your name?", "");         if (answer)         alert("God bless You, " + answer);     } </SCRIPT> </HEAD> <BODY> <INPUT TYPE="button" NAME="Button" VALUE="Press me" onClick="Name() "> </BODY> </HTML> Output:- Example3.html:- <html> <body> <p>This example calls a function which performs a calculation, and ...