How to encrypt the english language?
If we have a "Hello" String Then it should be printed as "svool" How we can do it in java language?
Younes Damouna assuming the input is "hello", then ascii value for character 'h' is 104 and if you subtract 97('ascii value of 'a') from it you get 7 and now if you subtract 7 from 122(ascii value of 'z') , you get 115 (ascii value of 's'). If the above doesn't makes sense let me know.
Younes Damouna i did that only but i will try again. For 'h' --------------- 'z'-h'-'a' ,//now replace them with their ascii value. 122-104-97=115 (ascii value of 's') For 'e' --------------- 'z'-'e'-'a' 122-101-97=118(ascii value of 'v') If you are wondering about conversions from ascii to letter and vice versa , google the methods use to do so.
Thank you I will try to solve it