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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: A matter of interest. Date: Sun, 30 Nov 2014 12:49:40 +0000 Organization: A noiseless patient Spider Message-ID: References: <8f7e0b44-14a7-4e39-8910-d8f6e553b904@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="bd449bdcec00b09130fa10264dc9941c"; logging-data="7592"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19aFtb9/krvncH0g4zazvDLh5wiMehdYyY=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:ZUs22dcfSZ3gvi5e6saqrLz5W1M= sha1:FVG4z3Sinx5BAloe+U4yL+A0HII= Xref: news.eternal-september.org comp.lang.ada:23795 Date: 2014-11-30T12:49:40+00:00 List-Id: Austin Obyrne writes: > The file of 49471 Ada sourcecode characters encrypted and decrypted > perfectly which I knew it would anyway so I decided next I would test > the fidelity (a privately coined word that I think is apt but is not > normal crypto jargon just for your info) of the entire experiment in > cryptology by test-running the decrypted source code as (message-text > now) in my Ada-Gide editor - it compiled and ran perfectly without any > editing and immediately encrypted some test programs itself. This is good, but as a method of testing I'd have used a byte-by-byte comparison of original/decrypted files. In a Unix environment, I'd use cmp(1). http://unixhelp.ed.ac.uk/CGI/man-cgi?cmp