Hi,
Anybody can show how to use encrypt and decrypt commands
for encrypting / decrypting a text (not a file, a text, a label ...)
Many thanks.
Example of encrypt and decrypt
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Dear titobal,
Best regards,
Mark
Code: Select all
get "bla"
encrypt it using "blowfish" with "1234567"
put it
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Hi Mark, thanks for the hekp... however I have a question...
During the encryption / decryption process can we in revolution use a key file instead of a simple password ? and a keyfile + a password ?
I would like to use the key file + password as the executable generate gets disassembled the password can be accessible, but the keyfile can be put in a distant network location for example...
Any idea on how to implement that encryption scheme ... ?
Thanks for your answer.
I would like to use the key file + password as the executable generate gets disassembled the password can be accessible, but the keyfile can be put in a distant network location for example...
Any idea on how to implement that encryption scheme ... ?
Thanks for your answer.
Dear titobal,
You can use anything you like as an encryption key.
etc.
Have you read the documentation about the encrypt and decrypt commands and the cyphers function?
Best,
Mark
You can use anything you like as an encryption key.
Code: Select all
put url "http://www.domain.com/key.txt" into myKey
encrypt it using "blowfish" with myKey
Code: Select all
put url "binfile:~/folder/key.txt" into myKey
encrypt it using "blowfish" with myKey
Have you read the documentation about the encrypt and decrypt commands and the cyphers function?
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode