Rather than using ENCRYPT(), or social engineering to discourage
people from using passwords at all, it's very easy to do this
with a .NET program called from BASIC:

CLASS = "NebulaRnD.Security.TripleDES"
INFO = "I am a password"
KEY = "34M5945hjW4hvde87tsDcgkuy"
USE.MD5 = 1
PARAMS = INFO : CHAR(9) : KEY : CHAR(9) : USE.MD5
CALLdotNET CLASS, "Encrypt", PARAMS
   SETTING ENCRYPTED
   ON ERROR GOSUB ENCRYPTION.ERROR
CRT ENCRYPTED

The same can be done with CallJ and Java for *nix.
In case anyone is wondering, EXECUTE "encrypt ":INFO is not a
good solution.
Requests for supported solutions are welcome.

Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
Nebula R&D sells mv.NET and other Pick/MultiValue products
worldwide, and provides related development and training services


New release of NebulaXLite for jBASE available 22-jan
Generate attractive spreadsheets from BASIC for
Excel, Open Office, and Google Docs
remove.pleaseNebula-RnD.com/products/xlite.htm 


--~--~---------~--~----~------------~-------~--~----~
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to