[REBOL] Re: RSA Encryption
From: mattsmac::hotmail at: 13-Nov-2003 10:34
And then I guess if there is ongoing communication, each side would need to
have their own (different) private and public key?
>From: "Matt MacDonald" <[mattsmac--hotmail--com]>
>Reply-To: [rebol-list--rebol--com]
>To: [rebol-list--rebol--com]
>Subject: [REBOL] Re: RSA Encryption
>Date: Thu, 13 Nov 2003 10:20:09 -0500
>
>Is it possible to encrypt binary files (pictures, pdfs etc) this way? or
>only text files?
>Matt
>------------------------------------------------------
>On Thu, 13 Nov 2003 09:22:41 -0500, "Matt MacDonald" <
>[mattsmac--hotmail--com]> said:
>
> >Can someone please explain to me, in as few mathematical equations as
> >possible, why RSA public/private encryption works? The way it looks to
>me
> >in the documentation that came with REBOL, you have to send the recieving
> >party the public key. If this is the case, what stops some hacker from
> >intercepting that public key and using it to decrypt the data? How is
>this
> >any different from using a syncronous encryption method and then just
> >sending the encryption key along with the data? It just doesn't make
>sense
> >to me.
>
>You misunderstood how it works. Let's suppose you (A) is trying to send
>an encrypted text to a friend (B):
>
>(A) gets the public key associated with (B).
>(A) encrypts the text to be sent using that key and send the encrypted
>text to (B).
>(B) will receive the encrypted text and uses his private key to decrypt
>it.
>
>Note it is not possible to decrypt the text with just the public key,
>so that's why a third person that somehow got the encrypted text would
>not be able to decrypt it without knowing the private key from (B).
>
>If all you want to do iss sign adocument, then you use your private
>lkey to sign it and anyway that knows your public key will be able to
>verify if the text was changed or something like that.
>
>-Bruno
>
>_________________________________________________________________
>Compare high-speed Internet plans, starting at $26.95.
>https://broadband.msn.com (Prices may vary by service area.)
>
>--
>To unsubscribe from this list, just send an email to
>[rebol-request--rebol--com] with unsubscribe as the subject.
>
_________________________________________________________________
Send a QuickGreet with MSN Messenger
http://www.msnmessenger-download.com/tracking/cdp_games