mirror of
https://github.com/github/codeql-action.git
synced 2025-12-30 19:20:08 +08:00
5 lines
135 B
JavaScript
5 lines
135 B
JavaScript
import crypto from 'crypto';
|
|
const rnds8 = new Uint8Array(16);
|
|
export default function rng() {
|
|
return crypto.randomFillSync(rnds8);
|
|
} |