PC Review


Reply
Thread Tools Rate Thread

Daily Passcode Generation with RSA

 
 
=?Utf-8?B?UGF1bEpCIFBIRA==?=
Guest
Posts: n/a
 
      9th Mar 2005
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
 
Reply With Quote
 
 
 
 
Peter Huang [MSFT]
Guest
Posts: n/a
 
      10th Mar 2005
Hi

I think the 384 is the least limitation, the RSA based on big prime
factorization so the LegalKeySizes property give us the support keysize.

All I think you may try to take a look at the new Cryptography which will
require less keysize, you may take a look.
Elliptic Curve Cryptography
http://www.certicom.com/index.php?ac...chive&view=296

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MS Access metadata repository generation query, matrix generationquery, table-generation query, array-generation query. Roy Roebuck Microsoft Access Database Table Design 1 20th Dec 2008 07:23 PM
XP Bluetooth Passcode =?Utf-8?B?UGV0ZQ==?= Windows XP General 1 24th Dec 2006 02:06 AM
web page not opening with user id and passcode =?Utf-8?B?Q2FybGVuZU9IYWdhbg==?= Microsoft Frontpage 4 15th Nov 2005 04:44 AM
Passcode to submit form Brian W Microsoft ASP .NET 3 24th Mar 2004 04:31 PM
Outlook 6 change passcode Deanna Palma Microsoft Outlook 1 24th Nov 2003 06:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:33 PM.