This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.net.*; | |
import java.io.*; | |
import java.util.HashSet; | |
import java.util.Iterator; | |
public class Vigenere { | |
public static HashSet dict_hash; | |
public static String encode(String toencode, String key) { | |
char[] toencodearr = toencode.toCharArray(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.net.*; | |
import java.io.*; | |
import java.util.HashMap; | |
import java.util.Iterator; | |
public class Vigenere { | |
public static HashMap dict_hash; | |
public static String encode(String toencode, String key) { | |
char[] toencodearr = toencode.toCharArray(); |