New Post

Hidden Markov Model (HMM)

Image
Hidden Markov Model (HMM)  VIDEO LINK:  https://youtu.be/YIGCWNG8BIA A Hidden Markov Model (HMM) is a statistical model in which the system has hidden states that cannot be directly observed, but produce observable outputs. It is based on the Markov property, meaning the next state depends only on the current state. Video Chapters: HMM in Artificial Intelligence 00:00 Introduction 00:31 Statistical Model 00:54 HMM Examples 02:30 HMM 03:10 HMM Components 05:23 Viterbi Algorithm 06:23 HMM Applications 06:38 HMM Problems 07:28 HMM in Handwriting Recognition 11:20 Conclusion  HMM COMPONENTS A Hidden Markov Model (HMM) is a statistical model in which the system has hidden states that cannot be directly observed, but produce observable outputs. It is based on the Markov property, meaning the next state depends only on the current state. An HMM consists of states, observations, transition probabilities, emission probabilities, and initial probabilities. It is commonly used in a...

Monoalphabetic Substitution Cipher Techniques

  Monoalphabetic Substitution Cipher, also known as a simple substitution cipher, relies (depends) on a fixed replacement structure. That is substitution is fixed for each letter of the alphabet. 

A simple example is where each letter is encrypted as the next letter in the alphabet: "a simple message" becomes "B TJNQMF NFTTBHF". Each letter can be encrypted to any symbol [&,%,?,/,*,{},@,~,+,-] not just another letter.

1.) Additive Cipher
The Simplest Monoalphabetic cipher is an Additive cipher.
This cipher is sometimes called Shift Cipher.
When the Cipher is Additive, the Plain Text, Cipher Text and key are integers in Z(26).
For Encryption: C = (p + k) mod 26
For Decryption: P = (c - k) mod 26
Where, C = Cipher Text
                  P = Plain Text
                  k = Key 
The secret key between Alice and Bob is also an integer value.
The encryption Algorithm adds the key to the Plain text character.
Decryption Algorithm Subtract the key from the ciphertext character.
Encryption

Decryption

2.) Atbash Cipher is a Monoalphabetic Substitution Cipher that was initially used to Encrypt the message using the Hebrew Alphabet.
Atbash Cipher uses a specific key where the letters of the alphabet are reversed. For example, the letter “A” is replaced with the letter “Z”, the letter “B” is replaced with “Y” and the pattern continues.

HOW TO SOLVE ATBASH CIPHER?
Basically, ATBASH Cipher reverses the alphabet to create Cipher Text.
HOW TO ENCRYPT USING ATBASH CIPHER?
Once you have generated the Cipher Text alphabet, encryption is very easy. You need to replace each Plain Text letter with the corresponding Cipher Text letter in the table.



#security #cipher #cryptography

Comments

Popular Post

PARTICLE SWARM OPTIMIZATION ALGORITHM NUMERICAL EXAMPLE

Cuckoo Search Algorithm for Optimization Problems

PSO (Particle Swarm Optimization) Example Step-by-Step

Particle Swarm Optimization (PSO)

how is the LBP |Local Binary Pattern| values calculated? Step-by-Step with Example

PSO Python Code || Particle Swarm Optimization in Python || ~xRay Pixy

Grey Wolf Optimization Algorithm

Bat algorithm Explanation Step by Step with example

Grey Wolf Optimization Algorithm Numerical Example

Whale Optimization Algorithm Code Implementation || WOA CODE || ~xRay Pixy