diff options
author | Rob Loach <robloach@gmail.com> | 2015-02-23 10:37:04 -0500 |
---|---|---|
committer | Rob Loach <robloach@gmail.com> | 2015-02-23 10:37:04 -0500 |
commit | 73b1123a141a28a2ef4695fd3838c7a2205ed6e7 (patch) | |
tree | 27bb7e1ffe3167788db5470e8be98e68848eebd1 | |
parent | 87cb66ac98f078aae2a080efa7c6a42a93f7a09a (diff) | |
download | xor-crypt-73b1123a141a28a2ef4695fd3838c7a2205ed6e7.zip xor-crypt-73b1123a141a28a2ef4695fd3838c7a2205ed6e7.tar.gz xor-crypt-73b1123a141a28a2ef4695fd3838c7a2205ed6e7.tar.bz2 |
Fix whitespace
-rw-r--r-- | xor-crypt.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xor-crypt.js b/xor-crypt.js index c8717f4..bcf6bc5 100644 --- a/xor-crypt.js +++ b/xor-crypt.js @@ -20,6 +20,7 @@ } }(this, function () { "use strict"; + /** * Encrypt or decrypt a string with the given XOR key. * @@ -37,6 +38,8 @@ for (var i = 0; i < str.length; ++i) { output += String.fromCharCode(key ^ str.charCodeAt(i)); } + return output; }; + })); |