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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.104.200 with SMTP id gg8mr850153obb.45.1386779196174; Wed, 11 Dec 2013 08:26:36 -0800 (PST) X-Received: by 10.182.118.170 with SMTP id kn10mr25225obb.20.1386779196122; Wed, 11 Dec 2013 08:26:36 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!ie8no8763100qab.0!news-out.google.com!p7ni15481qat.0!nntp.google.com!p15no19319785qaj.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 11 Dec 2013 08:26:35 -0800 (PST) In-Reply-To: <6addc5a4-8cb4-48a7-abb0-b62105e7c13d@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=129.59.203.130; posting-account=7Oy7OQoAAABhVYFOo553Cn1-AaU-bSfl NNTP-Posting-Host: 129.59.203.130 References: <1d445f04-b670-444f-9858-55da271fe17a@googlegroups.com> <2b6dc37f-4aa6-4c18-be59-8c09f6f37f01@googlegroups.com> <52a87c86$0$6659$9b4e6d93@newsspool2.arcor-online.net> <6addc5a4-8cb4-48a7-abb0-b62105e7c13d@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <5b2ad24d-edf4-4621-a82d-6972e7d90f52@googlegroups.com> Subject: Re: Binary versus text and compiler versions, was: Re: Will Ada-95 Programs Written in MS Windows Run in MacOS and Linux Without Some Tweaking. From: Eryndlia Mavourneen Injection-Date: Wed, 11 Dec 2013 16:26:36 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 4464 X-Received-Body-CRC: 2143613486 Xref: news.eternal-september.org comp.lang.ada:17965 Date: 2013-12-11T08:26:35-08:00 List-Id: On Wednesday, December 11, 2013 10:07:28 AM UTC-6, Austin Obyrne wrote: > On Wednesday, December 11, 2013 3:14:37 PM UTC, Eryndlia Mavourneen wrote= : >=20 > > On Wednesday, December 11, 2013 8:53:58 AM UTC-6, G.B. wrote: > why not= > just require that encryption start at 7bit data units? > (This restricti= on helps keeping faulty produces in place, and it > allows continuing the A= SCII caused destruction of well educated text > processing. ;-) I think you= r are joking, since your post does not seem to indicate what you would do w= ith the 8th bit of every byte, assuming your input is 8-bit bytes. Of cours= e, 7-bit ASCII would be unusable when dealing with videos, j-pegs, even Wor= d documents. What is the problem with simply reading binary disk blocks as = 8-bit text using Sequential_IO, since Austin wants to use the attributes 'P= os and 'Val on the data stream? -- Eryndlia Mavourneen (KK1T) >=20 > Like all cryptography since the 1970's this crypto is is exclusively 'num= ber-theoretic'. >=20 > Binary base is essential to the current block ciphers of NSA but is a cul= -de-sac for any further resaerach. >=20 > Your admonition to increase the scope to cover all of Latin_1 has been im= plemented (C++ only uses ASCII as far as I can tell but I am open to correc= tion here). >=20 > My stuff uses the decimal base and the geometry of planes in three dimens= ions as the encryption environment. The scope is limiltless for the everyda= y applications that all walks of life require. >=20 > GET and PUT together with 'Pos and 'Val kick-start the computation of the= ciphertext for each character read in which is then completed in each sing= le pass of the main loop i.e. read in, encrypt, written out as ciphertext e= nd-to-end in one throw straight. >=20 > The plaintext for encryption is read in character by character from text = files and is limited only by the computer capacity to store the growing arr= ay. This helps to make Ada a perfect language for cryptography. =20 >=20 > - There is no hard sell about this - just plain fact. >=20 > adacrypt Agreed. The problem, however, in using Text_IO is that terminators will be= different on different systems and may even be handled differently on outp= ut by different compilers on the same system (if I recall correctly), and T= ext_IO attempts to interpret this data stream. You need to use an I/O meth= od which ignores the meaning of these characters and really does just treat= the data as numbers, which is not what you are doing now with Text_IO.=20 -- Eryndlia Mavourneen (KK1T)