Support page

This commit is contained in:
yflory
2019-06-24 12:15:34 +02:00
parent bd190dc73b
commit 22c9af6961
14 changed files with 561 additions and 11 deletions

View File

@@ -85,6 +85,11 @@ define([
return id;
};
Hash.getChannelIdFromKey = function (publicKey) {
if (!publicKey) { return; }
return uint8ArrayToHex(Hash.decodeBase64(publicKey).subarray(0,16));
};
Hash.createRandomHash = function (type, password) {
var cryptor;
if (type === 'file') {