aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/scripts/2_encryption.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/scripts/2_encryption.js')
-rw-r--r--public/scripts/2_encryption.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/public/scripts/2_encryption.js b/public/scripts/2_encryption.js
index 05b4b69..4d05780 100644
--- a/public/scripts/2_encryption.js
+++ b/public/scripts/2_encryption.js
@@ -85,4 +85,9 @@ function testEncryption() {
})
}
-testEncryption();
+// TODO: Export as module or sth
+// REMEMBER: UGLY EXPORT!
+window.generateKeys = generateKeys;
+window.encrypt = encrypt;
+window.decrypt = decrypt;
+window.testEncryption = testEncryption;