[REBOL] Re: Blowfish strength
From: ptretter:charter at: 7-Jul-2001 12:26
Ok. I tried this several different way and the only way I could get it to
change the strength was to call the change to the refinement after the port
spec creation. Such as this:
encrypt-decrypt-func: func [strength type][crypt-port: make port! [
scheme: 'crypt
algorithm: 'blowfish
direction: type
key: crypt-key
padding: true
]
crypt-port/strength: strength ; this call did not work when provided
within the make port! block as strength: 128 or strength: strength
]