diff --git a/src/lib/crypto/evm.ts b/src/lib/crypto/evm.ts index 699f2cf..579c99f 100644 --- a/src/lib/crypto/evm.ts +++ b/src/lib/crypto/evm.ts @@ -116,12 +116,9 @@ function deriveChild( } /** - * Securely zero out a Uint8Array to prevent sensitive data from lingering in memory + * Clear a Uint8Array to reduce the likelihood of sensitive data lingering in memory */ function secureZero(arr: Uint8Array): void { - if (typeof crypto !== 'undefined' && crypto.getRandomValues) { - crypto.getRandomValues(arr); - } arr.fill(0); }