How to Decrypt Data File using C Programming | Caesar Cipher File Decryption

  Рет қаралды 1,600

Self Study Tutorials

Self Study Tutorials

Күн бұрын

Пікірлер: 14
@sobutarist3555
@sobutarist3555 Жыл бұрын
sir i am facing a problem when i decrypt my encrypted file the program add two symbols two dots(..) over y and u . plz help me
@SelfStudyTutorials
@SelfStudyTutorials Жыл бұрын
You may like to refer correct code at the following url cprogrampracticals.blogspot.com/2023/03/C-program-to-decrypt-a-text-file-using-Caesar-Cipher.html Let me know if you are facing any technical difficulties in executing this code. With best wishes
@aghaidyn
@aghaidyn Жыл бұрын
Hello, can u help me with this code?
@SelfStudyTutorials
@SelfStudyTutorials Жыл бұрын
Yes. I will. Share your error details or complete code to help you further.
@aghaidyn
@aghaidyn Жыл бұрын
@@SelfStudyTutorials So I have this problem where if u use "x, y, z" in the encryption code, the decryption will be random. For example I writed "YOUNG" and the shift is 3,the encryption will be " BRXQJ" which correct. However, the decryption text is "?OUNG" instead of "YOUNG".
@aghaidyn
@aghaidyn Жыл бұрын
@@SelfStudyTutorials And I tried to type "XYZ" with 3 shift too, the encryption is "ABC" but the decryption is ">?@".
@aghaidyn
@aghaidyn Жыл бұрын
@@SelfStudyTutorials This is my source code, Encryption: drive.google.com/file/d/1KSNelv2QF94Nq9MwwD2cIwVBFR4oCpZK/view?usp=share_link Decryption: drive.google.com/file/d/11Nm1qaArtq_awhTZ8cV9_Dwuxo0N01aq/view?usp=share_link
@SelfStudyTutorials
@SelfStudyTutorials Жыл бұрын
Dear SithReign, The problem faced by you can be solved using modulus 26 (%26) operation. Try to update your decryption.c while loop code as under: //Decrypting the message.txt //Declare one extra variable "char ch_temp" ch = fgetc(message); while(ch != EOF) { ch_temp = (ch-'a' - key+26) % 26 + 'a'; fputc(ch_temp, decrypt); ch = fgetc(message); }
How to Encrypt Data File using C Programming | Login.txt File Encryption
4:01
Python Beginner Project: Build a Caesar Cipher Encryption App
25:10
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
C writing files✍️
4:20
Bro Code
Рет қаралды 56 М.
C++ Caesar Cipher (ASCII Codes) | Algo for Beginners
13:39
Errichto Algorithms
Рет қаралды 48 М.
Tell Me About Yourself | Best Answer (from former CEO)
5:15
The Companies Expert
Рет қаралды 7 МЛН
How to STUDY so FAST it feels like CHEATING
8:03
The Angry Explainer
Рет қаралды 2,2 МЛН
Object-Oriented Programming is Embarrassing: 4 Short Examples
28:03
Brian Will
Рет қаралды 2,1 МЛН
Encryption and HUGE numbers - Numberphile
9:22
Numberphile
Рет қаралды 1,3 МЛН
5 Dangerous Things to Avoid Saying In a Job Interview
12:57
Don Georgevich
Рет қаралды 7 МЛН
Learning to Hack as a Kid
5:03
TimTom
Рет қаралды 10 МЛН
C in 100 Seconds
2:25
Fireship
Рет қаралды 3,2 МЛН