0
Is anyone there has a Monoalphabetic Cipher source code for PHP??
I'm really confuse on this one and my teacher give me this as an individual assignment and I don't even know this and that teacher didn't give me a clue about it so right now I'm confuse Cuz I don't know what to do 😭😥
1 Antwort
0
Its pretty simple
Create 2 array, or a map. Where each letter links with its subtitution letter. For example
letr: A, B, C ... Z
sub:G, J, A ... H
Now read the input, then find a each letter inside the array/map and store the value of subtitution letter (ex with above example: letter is B then store J) Once it finished print put all the value in a string then print the output :D
Dont ask for a code, no one will give you any :) at least without proof of your attempt