Article View: comp.os.ms-windows.programmer.tools
Article #930Re: Password encryption/de-cryption
From: Sam Nabialek
Date: Wed, 09 Aug 1995 15:35
Date: Wed, 09 Aug 1995 15:35
22 lines
1838 bytes
1838 bytes
In <NEWTNews.807898837.21140.shah@shah.wg.com>, shah@wg.com writes: > >Hi there ! > >I am developing a windows 3.1 app. This app needs to authenticate a user >login by the user name and his/her password. I need to store this password in >some sort of a format in some sort of a file (maybe an ini file). But first I >need to encrypt this password and later on de-crypt to check against the >entered password (or maybe there is a better way - I just don't know yet). >Could any of you please point me in a better way or point me to some known >used technique for this procedure ? > As you're in the US, you could look at the RSA encryption algorithm in PGP as an encryption method or try a fixed key rotating XOR on the password. The latter is not very secure but is quite easy to implement. There are a great many encryption algorithms around, try the University library for books os standard algorithms. -- Sam Nabialek Kelsey Instruments Ltd Email: nabialek@kelseyuk.demon.co.uk
Technical Details
Message-ID:
<26VL52$04D@kelseyuk.demon.co.uk>Path:
arc1-ca.pugleaf.net!kelseyuk.demon.co.uk!not-for-mailReferences:
<NEWTNews.807898837.21140.shah@shah.wg.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!kelseyuk.demon.co.uk!not-for-mail From: nabialek@kelseyuk.demon.co.uk (Sam Nabialek) Newsgroups: comp.os.ms-windows.programmer.tools,comp.os.ms-windows.programmer.networks,comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.controls,comp.os.ms-windows.apps.utilities,comp.os.ms-windows.apps.misc,comp.os.ms-windows.apps.comm,comp.lang.c++ Subject: Re: Password encryption/de-cryption Date: Wed, 09 Aug 1995 15:35:02 GMT Organization: Kelsey Instruments Ltd. Distribution: world Message-ID: <26VL52$04D@kelseyuk.demon.co.uk> References: <NEWTNews.807898837.21140.shah@shah.wg.com> Reply-To: nabialek@kelseyuk.demon.co.uk (Sam Nabialek) NNTP-Posting-Host: kelseyuk.demon.co.uk X-NNTP-Posting-Host: kelseyuk.demon.co.uk X-Newsreader: IBM NewsReader/2 v1.2 X-NNTPDaemon: changi 0.8 for OS/2