Atbash Cipher in Java
01:18 - Encryption
01:38 - Reversing Alphabet
04:56 - Decryption
-*- Support on Patreon: / voxelpixel
-*- Source Code: https://github.com/VoxelPixel
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