From f9a58afef003d40f3ada9c1645eda26363521cf3 Mon Sep 17 00:00:00 2001 From: Jacob Magnuson Date: Fri, 10 Mar 2017 23:49:21 +0000 Subject: [PATCH] rsa changes --- rsa1/description.md | 1 - rsa1/grader.py | 6 +++--- rsa1/problem.yml | 6 ++---- rsa3/description.md | 1 - rsa4/description.md | 1 + {rsa3 => rsa4}/grader.py | 0 {rsa3 => rsa4}/problem.yml | 4 ++-- rsa3/rsa3 => rsa4/rsa4 | 0 8 files changed, 8 insertions(+), 11 deletions(-) delete mode 100644 rsa3/description.md create mode 100644 rsa4/description.md rename {rsa3 => rsa4}/grader.py (100%) rename {rsa3 => rsa4}/problem.yml (85%) rename rsa3/rsa3 => rsa4/rsa4 (100%) diff --git a/rsa1/description.md b/rsa1/description.md index 6f6a960..e69de29 100644 --- a/rsa1/description.md +++ b/rsa1/description.md @@ -1 +0,0 @@ -We came across another [message]($rsa3) that follows the same cryptographic schema as those other Really Scary Admin messages. Take a look and see if you can crack it. \ No newline at end of file diff --git a/rsa1/grader.py b/rsa1/grader.py index e9ca30f..31a086b 100644 --- a/rsa1/grader.py +++ b/rsa1/grader.py @@ -1,4 +1,4 @@ def grade(autogen, key): - if key.find("tw0_v3ry_merrry_tw1n_pr1m35!!_417c0d") != -1: - return True, "Really Superb! Applause!" - return False, "RIP" + if key.find("todo") != -1: + return True, "Awesome job! Get ready for some harder ones :)" + return False, "Keep trying!" diff --git a/rsa1/problem.yml b/rsa1/problem.yml index c38e4f0..85b2641 100644 --- a/rsa1/problem.yml +++ b/rsa1/problem.yml @@ -1,9 +1,7 @@ author: blockingthesky -title: RSA 3 +title: RSA 1 hint: You might want to read up on how RSA works. category: Cryptography autogen: false programming: false -value: 70 -files: - - rsa3 +value: 30 diff --git a/rsa3/description.md b/rsa3/description.md deleted file mode 100644 index 6f6a960..0000000 --- a/rsa3/description.md +++ /dev/null @@ -1 +0,0 @@ -We came across another [message]($rsa3) that follows the same cryptographic schema as those other Really Scary Admin messages. Take a look and see if you can crack it. \ No newline at end of file diff --git a/rsa4/description.md b/rsa4/description.md new file mode 100644 index 0000000..2d61669 --- /dev/null +++ b/rsa4/description.md @@ -0,0 +1 @@ +We came across another [message]($rsa4) that follows the same cryptographic schema as those other RSA messages. Take a look and see if you can crack it. \ No newline at end of file diff --git a/rsa3/grader.py b/rsa4/grader.py similarity index 100% rename from rsa3/grader.py rename to rsa4/grader.py diff --git a/rsa3/problem.yml b/rsa4/problem.yml similarity index 85% rename from rsa3/problem.yml rename to rsa4/problem.yml index c38e4f0..17fc9de 100644 --- a/rsa3/problem.yml +++ b/rsa4/problem.yml @@ -1,9 +1,9 @@ author: blockingthesky -title: RSA 3 +title: RSA 4 hint: You might want to read up on how RSA works. category: Cryptography autogen: false programming: false -value: 70 +value: 130 files: - rsa3 diff --git a/rsa3/rsa3 b/rsa4/rsa4 similarity index 100% rename from rsa3/rsa3 rename to rsa4/rsa4