home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1999 Spring / macformat-077.iso / Shareware Plus / Development / Akua Sweets 131 / Akua Sweets Examples / Misc / Test Encryption of Data < prev    next >
Encoding:
Text File  |  1999-03-04  |  252 b   |  8 lines  |  [TEXT/ToyS]

  1. on run
  2.     set x to (path to system folder) as alias
  3.     set y to encrypt the data x with password "Test Encryption"
  4.     set z to encrypt the data y with password "Test Encryption"
  5.     set a to z as string
  6.     display dialog a buttons {"OK"} default button 1
  7. end run
  8.