SEARCH-197

- Error handling for compression and decompression
This commit is contained in:
Keerthi Niranjan
2017-10-24 16:37:56 +05:30
parent af985b6d46
commit 4bae7ab60e
4 changed files with 67 additions and 22 deletions

View File

@@ -67,6 +67,10 @@ class Search {
this.decryptAndInit();
}
/**
* Decrypting the existing user .enc file
* and initialing the library
*/
decryptAndInit() {
this.crypto.decryption().then(() => {
console.timeEnd('Decrypting');