mirror of
https://github.com/Noratrieb/knacken.git
synced 2026-01-14 15:25:05 +01:00
knacken
This commit is contained in:
parent
7453a72fb0
commit
1f04b5c973
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ public class Adfgvx {
|
||||||
static String mapToSub(int character, List<Character> matrix) {
|
static String mapToSub(int character, List<Character> matrix) {
|
||||||
int index = matrix.indexOf((char) character);
|
int index = matrix.indexOf((char) character);
|
||||||
char first = ADFGVX[index / 6];
|
char first = ADFGVX[index / 6];
|
||||||
ch ar second = ADFGVX[index % 6];
|
char second = ADFGVX[index % 6];
|
||||||
return "" + first + second;
|
return "" + first + second;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue