Is there anyway to use the RSACryptoServiceProvider with a key size smaller
than 384?
I'm using VB.NET in the 1.1 Framework.
I'm trying to generate a daily passcode string by hashing the current date,
signing the hash with an assymetric private key, and converting the signature
to a Base64String. A remote system, that only has the public key, could then
hash the current date and verify it against the signature.
I'm trying to get the daily passcode to be small enough to be read over a
telephone (20-35 characters). If I generate the passcode with DSA the
Base64String is always 56 characters regardless of key size. If I use RSA,
the length of the passcode string decreases with key size. At a key size of
384 (the minimum defined size), RSA generates a 64 character long passcode.
Can the lower limit of the RSACryptoServiceProvider key size be reduced via
any overrides or reflection?
Thanks for any help.
--
PaulJB PHD