answers (incomplete)

I see what you did there.

What this question was looking for was a string like "somechrs", and the use of the modulus when XORing it to account for the string being longer than the key. For example:
```java
String key = "somechrs";
// ...
encmsg = encmsg + (char) (msg.charAt(i) ^ key.charAt(i % key.length()));
```