From e025738f13bf9612a39f907329a547fb8fc66ebe Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 30 Nov 2014 16:19:22 -0800 Subject: Challenge 12 --- test/Set2Spec.scala | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/Set2Spec.scala b/test/Set2Spec.scala index 156949b..f17f459 100644 --- a/test/Set2Spec.scala +++ b/test/Set2Spec.scala @@ -74,7 +74,7 @@ class Set2Spec extends IxeeSpec { } - "Challenge 11: ECB/CBC detection" - { + "Challenge 11: ECB/CBC detection" in { val input = "keke" * 32 @@ -84,6 +84,16 @@ class Set2Spec extends IxeeSpec { } + "Challenge 12: ECB Decryption with user-specified prefix" - { + + "Extracts an unknown suffix from encrypted data" in { + + new String(Challenge12.run.toArray) mustBe Challenge12.expectation + + } + + } + } } -- cgit v1.1