🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #8126

Re: Encrypting/Decrypting stringlist

#8126
From: Bob Gonder
Date: Tue, 23 Nov 2004 19:56
20 lines
2011 bytes
roger wrote:

>i tried a simple set of strings..
>
>i tried it with 100 lines of
>INSERT INTO `Auction_Categories` VALUES (417, 393, 'Peugeot', '', 1, 1, 0,
>0, 0, 0, 0, 0, 0, 0);
>the output was fine and saved to a file.
>I reloaded the encrypted data file into a stringlist
>
>and then decrypted the encrypted stringlist and only got the below one
>line.as output
>INSERT INTO `Au

Remy already mentioned the probable cause of that... 0's in your data.
Carefully check the data that you read from the file.
Make sure each string is the full length.
You are probably reading short.
You might need to save the string length before each string so you
know, when you read, how long each encrypted string is supposed to be.
Technical Details
Message-ID: <v557q0d2d44dd2ada0vrtv3mslvlpbffue@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41a37ce2$1@newsgroups.borland.com> <41a385b5$1@newsgroups.borland.com> <41a3907d@newsgroups.borland.com> <41a3917d$1@newsgroups.borland.com> <41a39362$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8141b40d2daa221d
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Encrypting/Decrypting stringlist
Date: Tue, 23 Nov 2004 11:56:13 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <v557q0d2d44dd2ada0vrtv3mslvlpbffue@4ax.com>
References: <41a37ce2$1@newsgroups.borland.com> <41a385b5$1@newsgroups.borland.com> <41a3907d@newsgroups.borland.com> <41a3917d$1@newsgroups.borland.com> <41a39362$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.147.3
X-Trace: newsgroups.borland.com 1101239772 67.77.147.3 (23 Nov 2004 11:56:12 -0700)
Lines: 23
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail