NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

Cryptography..
scientific study of techniques for securing digital information, transactions, and distributed computations.

In the private-key setting, two parties share some secret information called a key, and use this key when they wish to communicate secretly with each other. A party sending a message uses the key to encrypt ( or "scramble" ) the message before it is sent, and the· receiver uses the same key to decrypt ( or "unscramble" ) and recover the message upon receipt.
Same key is used to encrypt and decrypt, reason why its known as symmetric key settings.

Syntax of encryption:
1. Key generation algorithm.
2. Encryption Algorithm.
3. Decryption Algorithm.

KERCKHOFF principle:
The cipher method must not be required to be secret, and it must be able to fall into the hands of the enemy without inconvenience.
According to this, even if the adversary knows the algorithm and every thing else the encryption is secure till the key is a secret.
ARGUMENTS in favor of above:
1. It will be easy to keep a key secret then the whole algorithm.
2. If the key is exposed it would be much easier to change the key than the whole algorithm.
3. If many pairs of people need to encrypt and communicate it would be much easier for them to use different keys rather the using a different algorithm.


ADVANTAGE of open Crypto design:
1. We cannot come up with a good encryption algorithm every time and the open one is tried and tested.
2. Security flaws to be reveled by ethical hackers then by malicious parties.
3. If security of system lies in security of code then reverse engineering might be a risk so better use a key which is irrelevant to the algorithm.

ATTACK scenarios:
1. Ciphertext only attack: Most basic adversary knows the cipher text and try guessing the original plain text.
2. Known Plaintext attack : Adversary came to know about few plain text cipher text pair and tries to know the plain text of the other cipher text under same encryption.
3. Chosen Plaintext attack: Adversary have the ability to convert any plain text of his choice to the cipher text and then tries to guess.
4.Chosen Cipher text attack : Adver­sary have capability to obtain the decryption of ciphertexts of its choice. Aim is to determine the plain­ text that was encrypted in some other ciphertext.


Ceaser Cipher: Shift the position of letters.--> encryption is done the same way and there is no secret key.
Shift Cipher: General case of caeser cipher.


Sufficient Key Space principle: Any encryption must have sufficient key space so that its nor vulnerable to exhaustive search.
Vigenere Cipher poly alphabet shift: Cipher using a word as key, and shift according to corresponding letter in key.
BREAKING:
if we know the length then after every n ( length ) a letter is encrypted using the same shift so can be done.
If the text is long enough then identifying common bigrams and trigrams can help to find length.




     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.