update to use new style crypto module

This commit is contained in:
ansuz committed 2016-06-21 15:17:09 +02:00
1 parent f94c06abc0
commit 849683d586
9 files changed
+64 -108

No files matched your search

+2 -2
View File
@@ -13,9 +13,9 @@ define([
var config = {
websocketURL: Config.websocketURL,
channel: secret.channel,
cryptKey: secret.key,
//cryptKey: secret.key,
data: {},
crypto: Crypto
crypto: Crypto.createEncryptor(secret.key)
};
var module = window.APP = {};