1. Encoding for Trapped Mods
- Posted by "C. K. Lester" <cklester at TICNET.COM> Oct 12, 1999
- 477 views
Here's what I wanna do: Create a simple txt file with one line of text + numbers, i.e., HD85739DJA9273JKS, which is hiding a license code. Protect the file so that if a change is made to it, a checksum will fail and I'll know that tampering has been tried. Anybody have good ideas in this regard? I'm thinking along the lines of the following: 1. Convert the license code (say '109') to hex. 2. Add the ASCII codes of the digits (6D) for a checksum item. 3. Create the line of text: 6DXGLP122, where 6D is the hex of 109, and 122 is the checksum, both of which are separated by a non-hex character sequence of letters (XGLP). So basically, I would parse out the 6D and the 122 and make sure they match. Would I also want to checksum the separater text, as well? That's a thought. Anyway, any and all ideas appreciated! < |<
2. Re: Encoding for Trapped Mods
- Posted by "Lucius L. Hilley III" <lhilley at CDC.NET> Oct 12, 1999
- 473 views
I have already created something of this effect. I simply haven't decided how to distribute it and keep the checksum to where it isn't easily cracked. Lucius L. Hilley III lhilley at cdc.net lucius at ComputerCafeUSA.com +----------+--------------+--------------+----------+ | Hollow | ICQ: 9638898 | AIM: LLHIII | Computer | | Horse +--------------+--------------+ Cafe' | | Software | http://www.cdc.net/~lhilley | USA | +----------+-------+---------------------+----------+ | http://www.ComputerCafeUSA.com | +--------------------------------+ ----- Original Message ----- From: C. K. Lester <cklester at TICNET.COM> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Tuesday, October 12, 1999 12:00 PM Subject: Encoding for Trapped Mods > ---------------------- Information from the mail header ----------------------- > Sender: Euphoria Programming for MS-DOS <EUPHORIA at LISTSERV.MUOHIO.EDU> > Poster: "C. K. Lester" <cklester at TICNET.COM> > Subject: Encoding for Trapped Mods > -------------------------------------------------------------------------- ----- > > Here's what I wanna do: > > Create a simple txt file with one line > of text + numbers, i.e., HD85739DJA9273JKS, > which is hiding a license code. > > Protect the file so that if a change is > made to it, a checksum will fail and I'll > know that tampering has been tried. > > Anybody have good ideas in this regard? > > I'm thinking along the lines of the following: > > 1. Convert the license code (say '109') to hex. > 2. Add the ASCII codes of the digits (6D) > for a checksum item. > 3. Create the line of text: 6DXGLP122, where > 6D is the hex of 109, and 122 is the checksum, > both of which are separated by a non-hex > character sequence of letters (XGLP). > > So basically, I would parse out the 6D and the 122 > and make sure they match. Would I also want to > checksum the separater text, as well? That's a thought. > > Anyway, any and all ideas appreciated! > > < |< >