hi guys im new to Java and i really need your help with this code, the program should encrypt and decrypt. For example encrypt a message of 10 charactors in length according to the rules below
The encryption is done by transposing characters using a given key stored as a string in the Encryptor class.Assume the key is "6230175498",then the character at index 0(the first character)is moved to position (index)6,the character at index 1 becomes the character at index 2, and so on ,for eg, "beam me up" will be "m ea ebmpu" then have to write a class EncrypterTest to do 2 things
1- asks the user for 10 characters message ,encryps it and display the ecrypted message ,then decrypts it and display the decrypted message
2- asks the user for a message to decryp,then display the decrypted message .
this is my code so far its uncomplete and has errors, im kinda lost please help me to complete it or if u can or if u know simpler way to write it 1,000,000 thanks