Sortix cisortix manual
This manual documents Sortix cisortix. You can instead view this document in the latest official manual.
NAME
RSA_security_bits, DSA_security_bits, DH_security_bits, BN_security_bits — get security strengthSYNOPSIS
#include <openssl/rsa.h>RSA_security_bits(const RSA *rsa);
DSA_security_bits(const DSA *dsa);
DH_security_bits(const DH *dh);
BN_security_bits(int pubbits, int privbits);
DESCRIPTION
These functions return the security strength of some specific types of cryptographic keys, measured in bits. It is approximately the binary logarithm of the number of operations an attacker has to perform in order to break the key.256 | for | 15360 | or more significant bits |
192 | 7680 | ||
128 | 3072 | ||
112 | 2048 | ||
80 | 1024 |