using System;
using System.Security.Cryptography;

public class VulnerableClass {
    public void GenerateKey() {
        // Vulnerable: RSA usage
        using (RSA rsa = RSA.Create()) {
            // ...
        }

        // Vulnerable: MD5 usage
        using (MD5 md5 = MD5.Create()) {
            // ...
        }
    }
}
