Decrypt problem

Bernard Devlin bdrunrev at gmail.com
Sat Aug 1 13:00:32 EDT 2009


I no longer have a license for Rev Enterprise (only Studio), so I
can't check what the cipherNames returns.  However using 'man enc' on
OS X, it does not look like openssl has a ciphername of "blowfish" per
se.  The supported ciphers in openssl that are based on blowfish have
names like:

        bf-cfb             Blowfish in CFB mode
        bf-ecb             Blowfish in ECB mode
        bf-ofb             Blowfish in OFB mode

Maybe that is the problem.  You could try using a different cipher name.

Alternatively, in the code snippets you give, you refer to the
ciphername in the first instance without quotation marks (thus as a
variable name rather than a string).  Depending on how your variables
are declared, the contents of the variable blowfish could be
"blowfish" or empty.

Finally, it may be an ambiguation problem around your field reference.
 You could try getting hold of the field's contents in a variable,
then apply decrypt to the variable.

I dug out my notes on decryption in Rev and it worked like this:

   decrypt tText using "aes-128-cbc" with password "blahblah"

Bernard

On Sat, Aug 1, 2009 at 3:43 PM, stevex64<stevex64 at yahoo.com> wrote:
>
> These errors are happening in the rev IDE, not an .exe.
>
> And I assume, maybe incorrectly, that if the library wasn't available, that
> error wouldn't be returned, as it seems the error is coming from the ssl
> library.



More information about the use-livecode mailing list