post string encrypt

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
link76
Posts: 96
Joined: Fri Nov 04, 2011 1:52 pm

post string encrypt

Post by link76 » Mon Apr 08, 2019 2:39 pm

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:

ghettocottage
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 308
Joined: Tue Apr 10, 2012 9:18 am

Re: post string encrypt

Post by ghettocottage » Tue Apr 09, 2019 12:35 am

are the spaces correlating to anything in particular? (quotes, carriage-returns, etc.)

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”