From 77c70ffae63f0f3e88913338895e88653880a055 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Sat, 19 Oct 2019 11:14:29 +0300 Subject: [PATCH] Remove redundant sjcl collectors. We don't need this because we rely on the browser to provide good enough random values (which browsers do nowadays). --- src/api/Crypto.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/api/Crypto.ts b/src/api/Crypto.ts index d80f8e7..44a5448 100644 --- a/src/api/Crypto.ts +++ b/src/api/Crypto.ts @@ -6,8 +6,6 @@ import { byte, base64 } from './Helpers'; (sjcl as any).beware['CBC mode is dangerous because it doesn\'t protect message integrity.'](); -sjcl.random.startCollectors(); - export const HMAC_SIZE_BYTES = 32; export class AsymmetricKeyPair {