🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #664

gwbasic alphanumeric encryption

#664
From: Peter Karl
Date: Sat, 08 Aug 1992 17:13
36 lines
1556 bytes
Hi All,

An interesting problem for everyone that just loves to program in GWBASIC.

How would one encrypt an alpha-numeric string, using GWBASIC (I'm sorry it
isn't Quick BASIC or C but it will have to do ), save it to disk and read
it back and decrypt it ?.

For example, let's say you use the statement LINE INPUT A$ to enter a string
which may look like this 58D34K48D85K59F.

How would you encrypt this to say, a single number, like 154797589 or
letters like JFHJKSAFHH  and save it to disk.

Then load it from disk at some later time and decrypt it to come up with
the original string.

Saving and loading the string isn't the real problem, but encrypting and
decrypting it is.

I write some gwbasic programs and this would be used to "ENCRYPT" a
password entered by the user.

I am well aware that there are plenty of commercial packages around that
would do the same thing. I find that doing this from scratch much more
rewarding than buying a commercial package.


                                               Regards......

                                                           Peter Karl



 * Origin: SexyLegs Line1 SuperBBs Rego & Support Aust 61-3-318-3455 V3
(3:633/357)
Technical Details
Message-ID: <713485478.F00001@csource.oz.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!jabaru.cec.edu.au!csource!acsnet

Show Full Headers
Complete Article Headers
From: Peter.Karl@f357.n633.z3.fidonet.org (Peter Karl)
Sender: acsnet@csource.oz.au
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!jabaru.cec.edu.au!csource!acsnet
Newsgroups: comp.sys.ibm.pc.misc
Subject: gwbasic alphanumeric encryption
Message-ID: <713485478.F00001@csource.oz.au>
Date: Sun, 09 Aug 1992 03:13:04 +1000
Lines: 36