Skip to content

Instantly share code, notes, and snippets.

@ttaylorr
Last active August 29, 2015 13:55
Show Gist options
  • Save ttaylorr/8735948 to your computer and use it in GitHub Desktop.
Save ttaylorr/8735948 to your computer and use it in GitHub Desktop.
public class VigenereBootstrap {
public static char[][] chars = new char[26][26];
public static void main(String[] args) {
// bootstrap the chars[]
for (int i = 0; i < 26; i++) {
for (int j = 0; j < 26; j++) {
chars[i][j] = (char) ((i + j) % 26 + 97);
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment