I need help on what I think is a Caesar cipher......
Hello , I have a problem with my assignment problem , which I think is a caesar cipher
The objective of my program is to encrypt/decrypt
The program will take in a user in put as a keyword
The letters of the alphabets are arranged starting with the keyword and followed by the remaining letters in reverse order
The keyword will not have recurring letters.
Using tiger as a keyword :
A |
B |
C |
D |
E |
F |
G |
H |
I |
J |
K |
L |
M |
N |
O |
P |
Q |
R |
S |
T |
U |
V |
W |
X |
Y |
Z |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
T |
I |
G |
E |
R |
Z |
Y |
X |
W |
V |
U |
S |
Q |
P |
O |
N |
M |
L |
K |
J |
H |
F |
D |
C |
B |
A
|
I am supposed to use that to encrypt/decrypt messages
But I am unsure of the logic , what will I use to arrange the letters ? what will I use to eliminate recurring alphabets.
Thank you for the time.