Add crypto-inventory: a cryptographic inventory of source code as a CycloneDX 1.6 CBOM, with linear cost on hostile input; PKI DER messages in English
This commit is contained in:
1 parent
7d814d1bb8
commit
0f081f0847
49 files changed
+4342
-33
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import crypto from 'node:crypto';
|
||||
|
||||
export const doc = "Call crypto.createHash('md5') to hash (documentation string).";
|
||||
export const tpl = `Use crypto.createCipheriv('des-ede3-cbc', key, iv) at ${Date.now()}`;
|
||||
export const eticheta = 'crypto.generateKeyPairSync("rsa", { modulusLength: 1024 })';
|
||||
export const re = /createHash\('sha1'\)/;
|
||||
export function id() {
|
||||
return crypto.randomUUID();
|
||||
}
|
||||
Reference in new issue
Block a user