From 21df96ba59cc0a69370f682303398fd952797f14 Mon Sep 17 00:00:00 2001 From: KyleBanks Date: Sun, 6 Oct 2013 16:44:24 -0400 Subject: [PATCH] Fixing indentation --- Groovy/XOREncryption.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Groovy/XOREncryption.groovy b/Groovy/XOREncryption.groovy index 58db625..f422b7b 100644 --- a/Groovy/XOREncryption.groovy +++ b/Groovy/XOREncryption.groovy @@ -5,7 +5,7 @@ def encryptDecrypt(String input) { for(int i = 0; i < input.length(); i++) { int a = input.charAt(i) as int; int b = (key[i % key.size()] as char) as int - output.add((a ^ b) as char) + output.add((a ^ b) as char) } output.join("")