Dec 07, 2012; 12:38
Anibal Escobar
L9 encrypt/decrypt
Hi, I'm on L9 and I want to take a map, serialize , compress ,
encodebas64 and finally encrypt and take that resulting value and
submit it in a form. The on the receiving page, reverse the process
to get the map. Here's what I have.
Sending page:
#formparams=#formparams->serialize
local('a'=#formparams->asbytes->compress->encodebase64)
local('finalparams'=encrypt_blowfish(-seed=#seed, #a->asstring))
<INPUT TYPE="hidden" NAME="MD" VALUE="[#finalparams]">
Receiving page:
[decrypt_blowfish(-seed=#seed, action_param('MD'))->decodebase64-
>uncompress]
however the receiving page produces a "uncompress failed" error. Trying
[decrypt_blowfish(-seed=#seed, action_param('MD'))->decodebase64] on
the receiving page produces a blank (or null?) result of type bytes
What am I missing?
Thanks,
Anibal Escobar
646 336 5000 x8821
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>