update to use new style crypto module

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

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 = {};