From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2ea9abfbe071a56f,start X-Google-Attributes: gid103376,public From: joshhighley@hotmail.com (Josh Highley) Subject: Saving and Encoding Passwords Date: 1999/11/16 Message-ID: <38315e1a.0@silver.truman.edu>#1/1 X-Deja-AN: 549391197 X-Trace: news.more.net 942781480 150.243.160.9 (Tue, 16 Nov 1999 13:44:40 CST) Organization: Truman State University User-Agent: Xnews/2.09.30 NNTP-Posting-Date: Tue, 16 Nov 1999 13:44:40 CST Newsgroups: comp.lang.ada Date: 1999-11-16T00:00:00+00:00 List-Id: I'm writing an Ada program that checks email accounts. I'm storing the user name, password, and other info in a text file that my program references on startup. I obviously don't want to store the password unencoded. Thus, my question is how should I encrypt the password? Is there an Ada package that will do this? I thought of using the CPU id to encrypt the password, but I'm not sure how secure this would be and I haven't found an API function or any other method of retrieving the CPU id. Is there a typical/standard/accepted way of encoding passwords? Thanks, Josh Highley joshhighley@hotmail.com