summaryrefslogtreecommitdiff
path: root/ciphers/SubstitutionRandom.java
diff options
context:
space:
mode:
Diffstat (limited to 'ciphers/SubstitutionRandom.java')
-rw-r--r--ciphers/SubstitutionRandom.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/ciphers/SubstitutionRandom.java b/ciphers/SubstitutionRandom.java
new file mode 100644
index 0000000..5646a7b
--- /dev/null
+++ b/ciphers/SubstitutionRandom.java
@@ -0,0 +1,11 @@
+// TODO: Write your implementation to SubstitutionRandom here!
+import java.util.*;
+
+public class SubstitutionRandom extends Substitution {
+ public static void main(String[] args) {
+ Random balls = new Random();
+ int boner = balls.nextInt(4);
+ System.out.println(boner);
+ Collections.shuffle()
+ }
+} \ No newline at end of file