Hi Kevin,

Load it into an Integer, and then call BitCount() or similar (it's been a
while, so I don't recall the proper function name).

Jeff

----- Original Message ----- 
From: "Kevin Hock" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, August 26, 2005 6:03 PM
Subject: Determine bit length from key


> Hi,
>
> If I have a private or public key of say, RSA type, is there a method
> I can use to determine it's bit length (e.g. 512, 1024, etc)? I'd like
> to load a key from a file and know how "long" it is.
>
> Thanks,
>
> Kevin
>

Reply via email to