rsa key bits - part-cw/lambdanative GitHub Wiki

(rsa-key-bits key)

Returns number of bits of the RSA key.

Parameter Description
key RSA key

Example

> (define key (make-rsa-key 32 10469049371575957133 65537 10095091988802462353))
> (rsa-key-bits key) 
32