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 @@
|
||||
export function sign(x) {
|
||||
return Math.sign(x);
|
||||
}
|
||||
|
||||
export function createHash(n) {
|
||||
return { n, hash: n * 31 };
|
||||
}
|
||||
|
||||
export const rezultat = [sign(-3), createHash(7)].map((v) => JSON.stringify(v));
|
||||
Reference in new issue
Block a user