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:
Aere Network committed 2026-09-29 17:42:36 +03:00
1 parent 7d814d1bb8
commit 0f081f0847
49 files changed
+4342 -33

No files matched your search

@@ -0,0 +1,13 @@
"""Modul fara criptografie.
Documentatia pomeneste rsa.generate_private_key(public_exponent=65537, key_size=1024)
si hashlib.md5(data), dar nu le cheama.
"""
import hashlib
def f(x):
"""Returneaza x. Nu foloseste hashlib.sha1(x)."""
# hashlib.md5(x) intr-un comentariu nu e o folosire
text = "hashlib.md5 apare aici doar ca text"
return x, text, hashlib