We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1faad97 commit 3fd0f18Copy full SHA for 3fd0f18
4 files changed
src/md5.js
@@ -1,4 +1,4 @@
1
-import crypto from 'crypto';
+import crypto from 'node:crypto';
2
3
function md5(bytes) {
4
if (Array.isArray(bytes)) {
src/native.js
@@ -1,3 +1,3 @@
export default { randomUUID: crypto.randomUUID };
src/rng.js
const rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate
let poolPtr = rnds8Pool.length;
src/sha1.js
function sha1(bytes) {
0 commit comments