Advertisement
Guest User

Runner.java

a guest
May 22nd, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. import java.util.*;
  2. import java.io.*;
  3. public class Runner {
  4.  
  5. // note to self: add file i/o later
  6. public static void main(String[] args) {
  7. String keyword = "brilling";
  8. String plaintext = "'Begin at the beginning,' the King said, very gravely, 'and go on till you come to the end: then stop.'";
  9. EncryptedGrid encryptedGrid = new EncryptedGrid(plaintext, keyword);
  10. }
  11.  
  12. /**
  13. * implement this
  14. * @param plaintext
  15. * @return
  16. */
  17. public String processPlaintext(String plaintext) {
  18. for(int i=0; i<plaintext.length(); i++) {
  19.  
  20. }
  21. return "";
  22. }
  23.  
  24. /**
  25. * implement this
  26. * @param keyword
  27. * @return
  28. */
  29. public String processKeyword(String keyword) {
  30. for(int i=0; i<keyword.length(); i++) {
  31.  
  32. }
  33. return "";
  34. }
  35.  
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement