[REBOL] Re: Proxy
From: holger:rebol at: 16-Jul-2001 8:27
On Fri, Jul 13, 2001 at 03:50:55PM +0200, Nenad Rakocevic wrote:
> Yes it's possible, but there's a hard part : you have to implement DES and MD4 in Rebol
DES is already supported by REBOL/Command 2.0. We might add MD4 support in one of the
next updates.
> which is
> not really a simple thing to do with Rebol scalar types. Their bit size is lesser than
the C or
> Java equivalent,
No. REBOL uses 32 bit integers, just like most other languages. Integers are always
signed, but for the types of calculations done in MD4 and DES this should not matter,
except additions/subtractions have to be done carefully to avoid overflows.
An alternative is to use a 16-bit implementation of MD4/DES. That gets you around the
signed vs unsigned problem.
> resulting in a painfull work to adapt the algos in Rebol. The 'Bignumber component
> should be the solution for such works as soon as RT will release some docs on it.
No, bignum uses variable-length integers, primarily for modulo arithmetics. It helps
for RSA, DSA and Diffie Hellman, but is rather useless for DES, MD4 etc. Besides at
the moment there is no bignum! datatype yet, so you cannot access the component from
the REBOL layer.
> The http scheme should also be modified to work with M$ Proxy Server, because MPS doesn't
strictly
> obey to the http standard. (as always with M$!) Any volonteer to make a tunnel through
the Death Star ? ;)
Do you have the specs for MS-Proxy in HTTP ?
--
Holger Kruse
[holger--rebol--com]