ffa702c934
* Exposes crypto APIs. * Move worker methods to libsigna.worker. * Move ProvisioningCipher to libtextsecure.
14 lignes
448 o
JavaScript
14 lignes
448 o
JavaScript
/*
|
|
* vim: ts=4:sw=4:expandtab
|
|
*/
|
|
;(function() {
|
|
'use strict';
|
|
window.textsecure = window.textsecure || {};
|
|
window.textsecure.storage = window.textsecure.storage || {};
|
|
|
|
textsecure.storage.protocol = new SignalProtocolStore();
|
|
|
|
textsecure.ProvisioningCipher = libsignal.ProvisioningCipher;
|
|
textsecure.startWorker = libsignal.worker.startWorker;
|
|
textsecure.stopWorker = libsignal.worker.stopWorker;
|
|
})();
|