mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
6 lines
202 B
JavaScript
6 lines
202 B
JavaScript
const crypto = $.require("crypto");
|
|
|
|
const bad1 = crypto.generateKeyPairSync("rsa", { modulusLength: 1024 }); // $ Alert
|
|
|
|
const good1 = crypto.generateKeyPairSync("rsa", { modulusLength: 4096 }); // OK
|