Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Encryption

From: mattsmac::hotmail at: 9-Sep-2003 10:53

Whoops, I ment Anton
>From: "Matt MacDonald" <[mattsmac--hotmail--com]> >Reply-To: [rebol-list--rebol--com] >To: [rebol-list--rebol--com] >Subject: [REBOL] Re: Encryption >Date: Tue, 09 Sep 2003 08:36:28 -0400 > >Greg, > This is the best and easiest solution anyone has given me. It's >versatile >enough to support all of the various applications in my program. It seems >to be working perfectly. Thanks everyone for your help. > >Matt > >Re: Encryption >Anton Rolls (antonr) >9-Sep-2003/13:32:51+10:00 >#30965 > >-------------------------------------------------------------------------------- > >You can push your binary through a line port >as text. >Encrypt your text, which gives you a binary, >then use enbase, which gives a string (and >losing no information). >On the other end use debase to get the binary >back, then decrypt. > >Anton. > > >Ok, good enough. So if I'm understanding correctly. I should be able to > >have 2 binary ports. One sending and one receiving. Then send the data > >through the sending port (as binary) and recieve it on the > >recieving port. > >Then change it to string and parse it from there. Here is what > >is happening > >though: > > > >I send a simple message "Hi" > >i have to do 2 reads on the recieving port, which returns 72 and > >105 - both > >integers. So my question is then, why do I get integers instead > >of binary > >data, and if I need to deal with integers and somehow convert them to > >characters, how do I know when to stop reading from the recieving port? > > > >Please help this is reallllly frustrating, > > > >Matt > > > >Hi Matt, > > > >MM> Ok, maybe my inexperience is showing or I'm just dense. I > >need to use > >the > >MM> line refinement so that I can get the entire line of the message at > >once. > >MM> But you cannot use the binary and line refinements at the same time. > >How do > >MM> I get around this? > > > >If you're sending binary data, there is no concept of "lines". You'll > >have to send the data and decode it on the other end, breaking it up > >in to lines there if necessary. > > > >-- Gregg > >_________________________________________________________________ >Use custom emotions -- try MSN Messenger 6.0! >http://www.msnmessenger-download.com/tracking/reach_emoticon > >-- >To unsubscribe from this list, just send an email to >[rebol-request--rebol--com] with unsubscribe as the subject. >
_________________________________________________________________ Need more e-mail storage? Get 10MB with Hotmail Extra Storage.