diff --git a/src/main/frontend/common/crypt.cljs b/src/main/frontend/common/crypt.cljs index 217d7b38af..77777e057a 100644 --- a/src/main/frontend/common/crypt.cljs +++ b/src/main/frontend/common/crypt.cljs @@ -344,41 +344,3 @@ (fn [e] (log/error "decrypt-text-by-text-password" e) (ex-info "decrypt-text-by-text-password" {} e))))) - -(comment - (let [array-buffers-equal? - (fn [^js/ArrayBuffer buf1 ^js/ArrayBuffer buf2] - (if (not= (.-byteLength buf1) (.-byteLength buf2)) - false - (let [arr1 (js/Uint8Array. buf1) - arr2 (js/Uint8Array. buf2)] - (= (vec arr1) (vec arr2)))))] - (p/let [rsa-key-pair (