Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
307 B
1
Indexable
Never
printBN("Totient phi(n): ", phi_n);
    printBN("Private key d: ", d);
    printBN("Ciphertext C: ", C);

    // Cleanup
    BN_free(p);
    BN_free(q);
    BN_free(n);
    BN_free(phi_n);
    BN_free(e);
    BN_free(d);
    BN_free(M);
    BN_free(C);
    BN_CTX_free(ctx);

    return 0;
}
Leave a Comment