


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



Name: Rea Jean M. Gornez BSCpE- 3rd^ Yr. COE 331 Activity No. 5 Encryption Algorithm FLAMES ALGORITHM The FLAMES Algorithm means Forward–Backward Letter Adding Modification using Even– Odd Shift. It encrypts a message by changing each letter depending on whether its position is odd or even and on the total number of letters in the word. Rules The FLAMES Algorithm encrypts a message by:
Cryptographic Key: 6 Step 2: Apply FLAMES shifting rules Letter 1: G Position 1 → Odd Calculation: −2 + 6 = + Shift G forward by 4 → K Letter 2: O Position 2 → Even Calculation: +2 + 6 = + Shift O forward by 8 → W Letter 3: R Position 3 → Odd Calculation: −2 + 6 = + Shift R forward by 4 → V Letter 4: N Position 4 → Even Calculation: +2 + 6 = + Shift N forward by 8 → V Letter 5: E Position 5 → Odd Calculation: −2 + 6 = + Shift E forward by 4 → I Letter 6: Z Position 6 → Even Calculation: +2 + 6 = + Z shifted forward by 8 wraps around the alphabet → H
Shift backward by 8 → Z Decrypted Message: GORNEZ Summary Name: FLAMES Algorithm (Forward–Backward Letter Adding Modification using Even– Odd Shift) Plain text: GORNEZ Cipher text: KWVVIH Cryptographic key: 6 (The key is the total number of letters in the word) Encryption algorithm: