diff --git a/README.md b/README.md index 5d5064c..c73730c 100644 --- a/README.md +++ b/README.md @@ -449,9 +449,12 @@ We're deferring to built-in which is considered cryptographically secure (CSPRNG). In the past, browsers had bugs that made it weak: it may happen again. +Implementing a userspace CSPRNG to get resilient to getRandomValues weakness +is even worse: there is no reliable userspace source of quality entropy. + ## Speed -To summarize, noble is the fastest JS implementation. +To summarize, noble is the fastest JS implementation of Salsa, ChaCha and AES. You can gain additional speed-up and avoid memory allocations by passing `output` diff --git a/package.json b/package.json index f0d1baf..6b86236 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "bench:install": "cd benchmark && npm install && cd ../../", "build": "npm run build:clean; tsc && tsc -p tsconfig.esm.json", "build:release": "cd build; npm i; npm run build", - "build:clean": "rm *.{js,d.ts,js.map,d.ts.map} esm/*.{js,d.ts,js.map,d.ts.map} 2> /dev/null; rm -r esm/webcrypto 2> /dev/null", + "build:clean": "rm *.{js,d.ts,js.map,d.ts.map} esm/*.{js,d.ts,js.map,d.ts.map} 2> /dev/null; rm -r webcrypto esm/webcrypto 2> /dev/null", "lint": "prettier --check 'src/**/*.{js,ts}' 'test/**/*.{js,ts,mjs}'", "format": "prettier --write 'src/**/*.{js,ts}' 'test/**/*.{js,ts,mjs}'", "test": "node test/index.js"