Page 1 of 1

post string encrypt

Posted: Mon Apr 08, 2019 2:39 pm
by link76
I would like to use these functions to encrypt the string and send it with the post method.

https://livecode.fandom.com/wiki/Encrypt

The string received in the PHP file when it is decrypted contains spaces.

Code: Select all


put EncryptIt_LC(tLogin) into tLogin
put EncryptIt_LC(tPassword) into tPassword
put "cmd=login" & "&tLogin=" & urlencode(tLogin) & "&tPassword=" & urlencode(tPassword) into tArgList

post tArgList to URL URL_EW
 

Code: Select all

result = 'mydecryptedstring             ' 
:roll:

Re: post string encrypt

Posted: Tue Apr 09, 2019 12:35 am
by ghettocottage
are the spaces correlating to anything in particular? (quotes, carriage-returns, etc.)