I see its an exercise now, well part of that is the puzzling i guess?
r
Rasheed
12/13/2022, 4:27 PM
Thanks so much. I have checked the code but I couldn't make sense of it
Rasheed
12/13/2022, 4:29 PM
I think what I need to know first is how to divide an encrypted message into the characters that it contains
g
gildor
12/14/2022, 6:56 AM
It looks as too generic question, depends on what kind encyrpted message and what is character
Let’s say, just as a guess, if you encrypted message is a string and every “character” represented by Koitlin Char, than to split it you can just do
val chars: List<Char> = “encrypted message”..toList()
If character is some more complex structure (like multiple bytes/Chars) you need too write own parser for it