Botan

Public Key Work Factor Functions

License
Botan is released under the Simplified BSD License (see LICENSE.md)

size_t  dlWorkFactor(size_t prime_group_size);

Estimate work factor for discrete logarithm

Parameters
size_t prime_group_size size of the group in bits
Returns
estimated security level for this group