I got the same result as the Java string when I did this
after making the port:
set-modes my-port [binary: true lines: false]
Anton.
> 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.