diff --git a/www/js/services/crypto-services.js b/www/js/services/crypto-services.js index bc5dedac1e313dbb82e0bb7aea34e59d6ef4f5cb..f9119d841e8a45f658c6ddb03799003058d47594 100644 --- a/www/js/services/crypto-services.js +++ b/www/js/services/crypto-services.js @@ -241,8 +241,8 @@ angular.module('cesium.crypto.services', ['ngResource', 'cesium.device.services' this.connect = function(salt, password) { return $q(function(resolve, reject) { var seed = that.scrypt.crypto_scrypt( - that.util.encode_utf8(salt), that.util.encode_utf8(password), + that.util.encode_utf8(salt), that.constants.SCRYPT_PARAMS.N, that.constants.SCRYPT_PARAMS.r, that.constants.SCRYPT_PARAMS.p,