Hi Robert,

Can ou write what version of Rebol (and SDK) are you using?

I'm getting this result in console

>> my-port: make port! [
[        scheme: 'crypt
[        direction: 'encrypt
[        key: to-binary
[    "qachafU&[EMAIL PROTECTED]"
[        init-vector: to-binary "11111111"
[        padding: false
[    ]
>> open my-port
>> insert my-port "test test test"
>> update my-port
>> value: copy my-port
== #{5B57A12B58F75F6B37F5FEB649BA8914}

The result is very 'simmilar' to your Java result so maybe the encryption
port setup needs some 'tuning'? Would be good If you could post also the
Java code part which is creating your Java result so we can see the details.

regards,

Cyphre

----- Original Message -----
From: "robert w dumond" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 08, 2005 5:58 PM
Subject: [REBOL] Rebol/SDK, Java and Blowfish


>
> Hallo, alls -
>     I am testing the interoperability of Blowfish between Rebol/SDK and
> BlowfishJ for Java.  So far, I am not having much luck.  Has anybody
> here had any experience getting these two to work together?
>
> Here's what I have so far:
>
> My Rebol code:
>
> my-port: make port! [
>     scheme: 'crypt
>     direction: 'encrypt
>     key: to-binary
> "qachafU&[EMAIL PROTECTED]"
>     init-vector: to-binary "11111111"
>     padding: false
> ]
> open my-port
> insert my-port "test test test"
> update my-port
> value: copy my-port
> ==
> #{7B36C60D60C146E9C1019B1FEA825743}
>
> My Java result using the same key and init-vector:
> 5b57a12b58f75f6baad115497ac6a028
>
> I am using CBC block chaining in both Rebol and Java.
>
> Thanks,
> robert w. dumond
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to