Atbash Cipher Encryption & Decryption in Java

preview_player
Показать описание
Atbash Cipher in Java
01:18 - Encryption
01:38 - Reversing Alphabet
04:56 - Decryption

In this video I'll be coding atbash cipher encryption and decryption using java

Atbash is a monoalphabetic substitution cipher, its algorithm is as following:
- All letters of alphabet are reversed

--Encryption--
- To encrypt, take a letter in plaintext, and replace it with a letter at at position of reverse alphabet
- A by Z, B by Y, C by X and so on

--Decryption--
- To encrypt, take a letter in ciphertext, and replace it with a letter at at position of alphabet
- Z by A, Y by B, X by C and so on
Рекомендации по теме
Комментарии
Автор

Source code link can be found in video description

voxelpixel
Автор

Line 43: int count = 0; but you didn't use it anywhere.

Hazuuur
Автор

thank you so much! i was wondering how would it be like is i needed it as return value instead of the method being void, could you explain that please?

neminy