How do I know you're not a kidnapper who has kidnapped Mayank and is now masquerading to be him and the message "$\psi\omicron\delta\epsilon~\rho\epsilon\delta$ was sent by Mayank when he saw you in your room?
In the Caesar cipher, for example, if you have an output, you know that the letters representing the same words are going to represent the same words in the decrypt too
If you have BNBO as the output, you know that both the B's will represent the same letter in the decrypt too.
By the way, this was the code for ALAN with shift as $1$
The output does not only depend on the position of the inputted character in the string of alphabets but also the position of it in the inputted alphabet.
Let me elaborate on that. It would give you a better idea of what I'm trying to say.
@YouKnowMe Yup. To be honest, that's what inspired me to do so.
Let's assume that the input is ABCD
I have a slow network so it can malfunction any time
Now, the first letter is A
Let the position of A in alphabets be denoted by $x$ and in the inputted word be denoted by $y$. The output will be given by a function $f$ which is a multivariable function
The output is going to be a natural number denoting the position of the output in alphabets
For A here, $x=y=1$
Just like that
For **B** : $x=y=2$ For **C** : $x=y=3$ and so on
Let's say that $f(x,y) = x+y$
So, the output will be $[1+1],[2+2],[3+3],[4+4]$ = BDFH
That's how it can work
But we should also take in mind that $f(x,y)$ and $y$ should be sufficient to give a value of $x$
That will be when the output will be decryptable
Because if we have the output, for each character in the output, we will know the value of $f(x,y)$ and $y$ i.e. the position of the letter in the inputted word
Would you have said the same if you didn't know how it actually worked?
This particular one was low level, agreed but if we implement the other things too like our own alphabets and stuff, wouldn't it be more sophisticated?
Maybe we can also use other complicated functions from number theory like the zeta function, gamma function etc. (I have no idea what they do, though, lol)
It would be highly tedious for us to manually encrypt and decrypt, considering that we are aiming for a sophisticated algorithm. Plus, if not this, what are computers for? :D
@YouKnowMe Once we define the function(s) and decide how to implement the points we discussed today, yes.