Encrypt a text

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
avelasco
Posts: 1
Joined: Wed Feb 18, 2009 7:27 pm

Encrypt a text

Post by avelasco » Wed Feb 18, 2009 7:37 pm

To protect a stack, I used the following procedure:
1. In the first card I include a botton with the following script:

on mouseUp
ask "ESCREVA A PASSWORD"
global clave
put it into clave
if clave is "tvzdt" then go to next card
end mouseUp

I want to encrypt the text that appears in the dialog box.

How can I do it?

Klaus
Posts: 14196
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Post by Klaus » Wed Feb 18, 2009 10:19 pm

Hi avelasco,

maybe this does what you want? See the first line!
I hope I understand you correct.

Code: Select all

on mouseUp 
  ask PASSWORD CLEAR "ESCREVA A PASSWORD" 
  global clave 
  put it into clave 
  if clave is "tvzdt" then 
     go to next card 
  end if
end mouseUp 
Best from germany

Klaus

Post Reply