summaryrefslogtreecommitdiff
path: root/ciphers/SubstitutionRandom.java
diff options
context:
space:
mode:
authorpants <niklasjo2004@gmail.com>2026-09-21 14:16:34 -0700
committerpants <niklasjo2004@gmail.com>2026-09-21 14:16:34 -0700
commit81ba9eb66f8284d8760012973f84cdbe617ceb94 (patch)
tree466432644e9e3fd66ee183ec53a1f10abb1b7faa /ciphers/SubstitutionRandom.java
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