Sunday, 28 July 2024

What is Asymmetric Key Cryptography and also explain the detailed working of Asymmetric Key Cryptography?

 What is Asymmetric Key Cryptography and also explain the detailed working of Asymmetric Key Cryptography?











After reading the above notes you are able to answer the following questions?

1. What is Asymmetric key in cryptography?

2. What is the difference between Symmetric Key and Asymmetric Key Cryptography?

3. Explain in detail the working of Asymmetric Key Cryptography?

4. How to encrypt and decrypt the message using Public Key Cryptography?

5. How many asymmetric keys will be required if four devices are connected with each other in network?


UGC NET question on Symmetric Key Cryptography: consider if four devices are connected with each other then how many keys are needed ?

UGC NET Question on Symmetric Key Cryptography: Consider if four devices are connected with each other then how many symmetric keys are needed ?





Example:

Take your own example and try to solve it by referring above notes: consider there are 7 devices are connected with each other so how many symmetric keys are needed?

What is Symmetric Key Cryptography? What are the Challenges in symmetric key cryptography?

 Symmetric Key Cryptography:






After reading the above contents you are able to answer following questions.

1. What is mean by unsecure channel?

2. What is Symmetric Key? 
(Symmetric Key means same Key used for both Encryption & Decryption)

3. What are the various Symmetric key algorithm?

4. What is the meaning of Key?

5. How Symmetric key Cryptography works explain with example?

6. What are the challenges of symmetric key cryptography?

Thursday, 11 April 2024

What is Exception Handling in Java?

Fundamental, exception types, uncaught exceptions, try, catch, throw, throws, finally, multiple catch clauses, nested try statements, built-in exceptions, custom exceptions (creating your own exception sub classes)








What is Interface in Java?

Interfaces (defining, implementation, nesting, applying), variables in interfaces, extending interfaces, instance of operator.









Nested Interface:
    by declaring one interface within another interface, we can organize similar or related interfaces in a more readable and logical way so that you can make your code simpler to understand and modify.
    If you want to limit the interface scope and wants to prevent it from being accessed outside of that class.




instanceof Operator:
    If you want to check the type of an object, I mean to say this operator allows us to check if an object belongs to a particular interface, class, or subclass. It returns a Boolean value. if an object belongs to a particular class, subclass, or interface then it returns true otherwise false.






Tuesday, 9 April 2024

What is Package in Java ?

Packages: defining a package, finding packages and CLASSPATH, access protection, importing packages

What is Package in java? Why do we require Package in java?