Skip to content

Commit 16e9cc9

Browse files
committedOct 26, 2021
Revert "first pass at maintainer covenant, fix #586"
This reverts commit c285a4a.
1 parent c285a4a commit 16e9cc9

File tree

3 files changed

+0
-78
lines changed

3 files changed

+0
-78
lines changed
 

‎MAINTAINER_COVENANT.md

-71
This file was deleted.

‎deploy_broofa.sh

-2
This file was deleted.

‎src/rng.js

-5
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
import crypto from 'crypto';
22

3-
<<<<<<< Updated upstream
43
const rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate
5-
=======
6-
const rnds8Pool = new Uint8Array(256);
7-
>>>>>>> Stashed changes
84
let poolPtr = rnds8Pool.length;
95

106
export default function rng() {
117
if (poolPtr > rnds8Pool.length - 16) {
128
crypto.randomFillSync(rnds8Pool);
139
poolPtr = 0;
1410
}
15-
1611
return rnds8Pool.slice(poolPtr, (poolPtr += 16));
1712
}

0 commit comments

Comments
 (0)
Please sign in to comment.