Use of the encryption features in 2.6

2005-10-12 Thread Bill Vlahos
Has anyone published a description of how to use the encryption 
features of 2.6?


I have a program that stores data in custom properties on several cards 
(major catagories) which I want to encrypt. It would be nice to click a 
check box to automatically encrypt the entire stack but I don't think 
it works that way.


I'm assuming that I need to encrypt the data before putting it into the 
custom property and decrypt it when bringing it out. This doesn't sound 
that hard but very tedious. The nature of this program requires that it 
will be doing this all the time that it is running so it can always be 
in a "saved" state on the drive.


The docs are pretty clear on what the parameters are but not on how I 
would actually implement this in a real program.


Is there a tutorial somewhere that I missed?

Thanks,
Bill Vlahos

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Use of the encryption features in 2.6

2005-10-12 Thread Ken Ray
On 10/12/05 9:14 AM, "Bill Vlahos" <[EMAIL PROTECTED]> wrote:

> The docs are pretty clear on what the parameters are but not on how I
> would actually implement this in a real program.
> 
> Is there a tutorial somewhere that I missed?

Not that I'm aware of, but Dar Scott did a presentation on "Secrets of
Encryption and SSL" at the Monterey RevCon; I'll send you the stack he
presented off-list.

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Use of the encryption features in 2.6

2005-10-13 Thread Mark Schonewille

Hi Bill,

An easy way to encrypt the contents of a field:

on mouseUp
  encrypt fld 1 using blowfish with password "12345678"
  put the result into rslt
  if rslt is empty then
put it into fld 2
  else
put rslt into fld 2
  end if
end mouseUp

and decrypt it using

on mouseUp
  decrypt fld 2 using blowfish with password "12345678"
  put the result into rslt
  if rslt is empty then
put it into fld 2
  else
put rslt into fld 2
  end if
end mouseUp

To use these scripts, just make one stack with two fields and
two buttons. The two buttons should contain these scripts.

When you encrypt a container, you will always find the resulting
value in the it variable. Normally, you would replace the
contents of the original container with the contents of the it
variable.

Best,

Mark


Bill Vlahos wrote:
Has anyone published a description of how to use the encryption features 
of 2.6?


I have a program that stores data in custom properties on several cards 
(major catagories) which I want to encrypt. It would be nice to click a 
check box to automatically encrypt the entire stack but I don't think it 
works that way.


I'm assuming that I need to encrypt the data before putting it into the 
custom property and decrypt it when bringing it out. This doesn't sound 
that hard but very tedious. The nature of this program requires that it 
will be doing this all the time that it is running so it can always be 
in a "saved" state on the drive.


The docs are pretty clear on what the parameters are but not on how I 
would actually implement this in a real program.


Is there a tutorial somewhere that I missed?

Thanks,
Bill Vlahos


--

eHUG coordinator
mailto:[EMAIL PROTECTED]
http://www.ehug.info
http://home.wanadoo.nl/mark.sch
http://www.economy-x-talk.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution