From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,aa529428387c8116 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-09-13 01:34:43 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Crypting files with Ada Date: Fri, 13 Sep 2002 08:34:43 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1031906083 14386 129.241.83.82 (13 Sep 2002 08:34:43 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Fri, 13 Sep 2002 08:34:43 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:28911 Date: 2002-09-13T08:34:43+00:00 List-Id: On 12 Sep 2002 22:03:16 GMT, Adrian Knoth wrote: > Preben Randhol wrote: > >> Now I only have to figure out how to erase decoded files... > > unlink()ing via FS does not work/is not what you're looking for? > > So take your glibAda and call unlink(filename); Or even better ^^^^^^^ what is this? > remove(); I don't know. That is sth I have to find out. The problem is that if you simply delete a file in say Windows or Linux you don't rease it you only delete the link. So unless the OS has overwritten the place the file occupied with new files one can recover it. I guess one could change every byte in the file with 0 and then write the file again before deleting it. But thanks for the pointers I'll check it out. Preben