Re: About RSA key generating



Tom St Denis wrote:
Chen wrote:
What will happen if I generate two 512-bit numbers ,which passed MR
test ,but one of the number is not a prime?
Number which passed MR test should be a prime , however, MR test will
fail even though the possibility is very low.
I want to know if one 512-bit prime and one 512-bit number be the
element of RSA key genertor P & Q, then calculate d, n with them , what
will happen?

RSA will probably not "work" as the true phi(pq) won't divide (p - 1)(q
- 1). So you will notice that signatures/decryption doesn't work.

In general though, you should do more than one MR pass.

Do you mean can not get the number n ? ( n = (p-1)*(q-1) )
So RSA will not work?

But in my program , I got e, d, n, I don't know whether they are right.
When use e,n during the encrytp, I could probably get the cipher_text,
but , during the decrypt, I could not get the plain_text, the decrypted
text is not match.

.



Relevant Pages

  • Re: A basic cryptanalysis question
    ... since your compressor is invertable e must equal 256. ... How long do you want to be a FOOL Tom. ... any brains If you take a ONE BYTE CIPHERTEXT FILE and decrypt it with BICOM ... My Crypto code ...
    (sci.crypt)
  • Re: About RSA key generating
    ... element of RSA key genertor P & Q, then calculate d, n with them, what ... So you will notice that signatures/decryption doesn't work. ... where Phiis Euler's totient function, ... but, during the decrypt, I could not get the plain_text, the decrypted ...
    (sci.crypt)
  • Re: About RSA key generating
    ... fail even though the possibility is very low. ... element of RSA key genertor P & Q, then calculate d, n with them, what ... So you will notice that signatures/decryption doesn't work. ... but, during the decrypt, I could not get the plain_text, the decrypted ...
    (sci.crypt)
  • Re: 8 byte key for 3DES
    ... I used the first one to encrypt my string and then the 2nd one to decrypt it ... I assume that there is a bug in the CryptDeriveKey function. ... Tom ...
    (microsoft.public.dotnet.framework.aspnet)
  • decrypt a stored procedure
    ... I'd like to know if i can to decrypt a stored procedure!! ... I have lost source code!! ...
    (microsoft.public.sqlserver.security)

Quantcast