🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Encrypting/Decrypting stringlist

#8127
From: roger
Date: Tue, 23 Nov 2004 20:03
27 lines
2220 bytes
I am using the simple loadfromfile and savetofile... is this not suitable.?
"Bob Gonder" <notbg@notmindspring.invalid> wrote in message
news:v557q0d2d44dd2ada0vrtv3mslvlpbffue@4ax.com...
> 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: <41a39764$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!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> <v557q0d2d44dd2ada0vrtv3mslvlpbffue@4ax.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: "roger" <rogersmail@ntlworld.com>
Newsgroups: borland.public.cppbuilder.nativeapi
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> <v557q0d2d44dd2ada0vrtv3mslvlpbffue@4ax.com>
Subject: Re: Encrypting/Decrypting stringlist
Date: Tue, 23 Nov 2004 20:03:03 -0000
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2739.300
NNTP-Posting-Host: 81.103.69.122
Message-ID: <41a39764$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1101240164 81.103.69.122 (23 Nov 2004 12:02:44 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!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