Hm, now I'm getting errorcode -12

On Thursday, July 25, 2013 2:24:00 AM UTC-5, Mats Stromberg wrote:
>
> Blindshot... never tried that my self... but have you tried passing your 
> Salt as a binary object ?
>
> http://openbd.org/manual/?/function/binarydecode
>
> /Mats/
>
> On Thursday, July 25, 2013 8:38:27 AM UTC+2, Marcus F wrote:
>>
>> I'm creating a desktop application that talks to an OpenBD server over 
>> sockets, so far it's working great.
>>
>> Now I'm tackling one of the most important parts in the project, 
>> implementing secure data transfer.
>>
>> My plan here is to use AES-256, probably with a RSA public key system, 
>> but for now I'm happy if I can get the AES part working.
>>
>> I'm using LiveCode, which can encrypt/decrypt AES 256.
>>
>> I have an encrypted string, the salt, and the password, I've gotten so 
>> far as getting cryptic error messages.
>>
>> Right now I'm trying this:
>> <cfset decr = Decrypt("#Right('#arguments.line#', '16')#", "passhere", 
>> "AES-256", "Hex", "salthe")>
>>
>> Which gives me this error:
>> Invalid IVorSalt type. A value of type binary is required.
>>
>> I've tried other things for salt and encoding, but I either get the 
>> binary error, or "-51" as the error.
>>
>>

-- 
-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Open 
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to