A little problem with RSA cryprographic method

From: Hitman (KAM0000_at_aol.com)
Date: 02/12/04


Date: 12 Feb 2004 10:27:16 -0800

Hey gang,

I'm having a little problem with RSA. I understand the basic process
of both encryption and decryption. But, I can only encrypt effective
and when I try to decrypt with the private key I have made, the
ciphertext is further encrypted. Any ideas or help wanted.

Here's an example of one of my most recent disasters:
N=PQ=5*11=55
Phi(N)=(5-1)(11-1)=40
E*D=K*40+1
7*23=4*40+1

Message: This is an example of the RSA cipher

Block1=This
1.) 010101000011010000110100101110011
Block2=_is_an
2.)001000000110100101110011001000000110000101101110
Block3=example_of_the
3.)001100101011110000110110101110000011011000110010100100000011001110110011000100000011101000110100001100101
Block 4=RSA_Cipher
4.)0010000001010010010101000100100010010000001100010011000110110100101110000011010000110010101110010

Encryption
--------------
(Block^E)mod(N)

1.)(708064441^5)mod(55)=15
2.)(3363727515646^5)mod(55)=11
3.)(2.10e30)^5)mod(55)=24
4.)(5.002e7)^5)mod(55)=22

Decryption
----------------
(Ciphertext^D)mod(N)
1.)(15^23)mod(55)=18
2.)(11^23)mod(55)=50
3.)(24^23)mod(55)=19
4.)(22^23)mod(55)=15



Relevant Pages

  • Re: Symmetric encryption algorithm with group like properties
    ... >> Solutions that exist today are not as secure as they can be. ... I wouldn't expect more than PGP / GPG type encryption, ... > versions - with the key, protected by RSA encryption under a RSA public key ... > Alice needs a secure decryption mechanism to read her emails, ...
    (sci.crypt)
  • Re: Name this key exchange
    ... RSA is faster than DH at encryption and slower at decryption. ... Bob generates a secret by choosing a random number r and setting ...
    (sci.crypt)
  • Re: Securing data to a process principal
    ... encryption key first time for the user - and use it later). ... secret. ... I need the decryption to ... You MAY think that instead of a filter driver you can simply ...
    (microsoft.public.platformsdk.security)
  • Re: embedded keys - there has to be a less vulnerable approach
    ... the database would be run on top of an encrypting file system ... > The use of an asymmetrical encryption algorithm does not seem to offer ... because the encryption and decryption ... > a hostile attacker is not a member of that small knowledgeable elite. ...
    (comp.security.misc)
  • Re: Sharing Encrypted Data
    ... > where D stands for decryption and E stands for encryption. ... You can use RSA directly or any ... You could then give your public key ... decryption functions are identical, differing only by the key they use. ...
    (sci.crypt.research)