java fa schifo
All checks were successful
Deploy / trigger (push) Successful in 21s

This commit is contained in:
2026-03-31 12:39:55 +02:00
parent 59f4cd0777
commit 4bd4fd0070

View File

@@ -8,6 +8,6 @@ public class Caesar {
for(int i = 0; i < plaintext.length(); i++){ for(int i = 0; i < plaintext.length(); i++){
encoded[i] = alphabet.charAt(alphabet.indexOf(encoded[i]) + key % 26); encoded[i] = alphabet.charAt(alphabet.indexOf(encoded[i]) + key % 26);
} }
return encoded.toString(); return String.valueOf(encoded);
} }
} }