Is anyone there has a Monoalphabetic Cipher source code for PHP?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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 😭😥

27th Nov 2018, 10:13 AM
XxZ-0000xX
XxZ-0000xX - avatar
1 Answer
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
27th Nov 2018, 12:11 PM
Taste
Taste - avatar