[REBOL] to encrypt, or not to encrypt... Re:
From: ryanc:iesco-dms at: 5-Sep-2000 11:31
With REBOL you wont be too successful hiding this from a REBOL
programmer, because of course a properly placed probe would easily
reveal it no matter how much encryption you threw at it.
So basically all you can do is keep it from being non-programmer
readable in a file. The easiest way to this is with to-binary:
>> password: "password"
== "password"
>> to-binary password
== #{70617373776F7264}
This is a little too obvious to me though, maybe compress:
>> compress password
== #{789C2B482C2E2ECF2F4A01000F91037408000000}
Or lastly if your space conscious:
>> forall password [change password to-char xor 85 first password]
== false
>> head password
== {%4&&":'1}
--Ryan
[balayo--mindspring--com] wrote:
> howdy list,
>
> There have been several posts on encryption lately. I'd
> like to be able to encrypt a local password file to call on
> when constructing ftp urls. I don't want to hard-code them
> into scripts, and I'm already tired of
>
> ;pass: ask/hide "password? "
>
> I also don't like to have my passwords floating around my drive
> in plain text.
>
> How do you guys handle this?
>
> thanks
> --
>
> Eat more spinach.
> -tom
--
* Ryan Cole *
Programmer Analyst
www.iesco-dms.com
707-468-5400
;Fortuneately escape will cancel this endless loop...
Forever [ buy microsoft version: version + 1 ]