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: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Will Ada-95 Programs Written in MS Windows Run in MacOS and Linux Without Some Tweaking. Date: Mon, 16 Dec 2013 11:46:53 +0000 Organization: A noiseless patient Spider Message-ID: References: <1d445f04-b670-444f-9858-55da271fe17a@googlegroups.com> <6d347aed-dce2-4b55-9e35-603f18f06fcb@googlegroups.com> <4f214ca7-871b-4529-b404-caebd1655051@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: mx05.eternal-september.org; posting-host="aa5206ded37b2ca7f9833bd0a598d69e"; logging-data="13531"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX190HyDIVVWkGAvsmUYr6mBKyywZjMz5QOk=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:WeyDJlUpkJpmkau9qZUrVcNQrXQ= sha1:kd7l8SltTiehIkxq+vn5iUmxS0o= X-Original-Bytes: 3369 Xref: number.nntp.dca.giganews.com comp.lang.ada:184278 Date: 2013-12-16T11:46:53+00:00 List-Id: Austin Obyrne writes: > The transition of this crypto from Windows to Mac is quite something > and to my limited experience is a formidable task. No. I've put extensions at [1]; the README.txt says ------------------------------------------------------------------------ The files here are intended to work with the SureCrypt software from http://www.adacryptpages.com. They are written against version 85610, and are relatively minor modifications of that software, so the copyright status remains that of the original (Copyright © 2003 Austin O'Byrne). There are two new programs: encrypt and decrypt. Encrypt usage: encrypt original-plaintext ciphertext Decrypt usage: decrypt ciphertext decrypted-plaintext Note that in spite of the use of the word "text" above the programs will work with binary data. The programs will work on Unix and Windows systems. Data encrypted on one can be decrypted on the other if required. Using a recent GNAT compiler, the programs can be built using the supplied cipher.gpr: gnatmake -p -P cipher Simon Wright simon@pushface.org December 2013 ------------------------------------------------------------------------ >From the software point of view, note that on Linux (which has a case-sensitive file system) you should use lower case for Ada source file names, so that, for example, Alices_Digital_Signature.ads becomes alices_digital_signature.ads. >From the practical point of view, I think that the size of the encrypted files will be a serious issue. With the current code, they come out *more* *than* *30* *times* the size of the original, so that the encrypted SureCrypt85610.zip comes out at about 870 megabytes. Even if you output the encrypted data in binary the multiplier will be 12 (each byte of the original is encrypted as 3 integers). [1] https://www.dropbox.com/sh/a84i0jb8jv48nev/Q143ubNUWC