comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: The enormous potential that programming LaTeX in Ada presents.
Date: Thu, 04 Dec 2014 15:25:43 +0000
Date: 2014-12-04T15:25:43+00:00	[thread overview]
Message-ID: <ly1tof4etk.fsf@pushface.org> (raw)
In-Reply-To: 587e236f-123f-4897-b73e-264082a62806@googlegroups.com

Austin Obyrne <austin.obyrne@hotmail.com> writes:

> Current cryptography is capable of encrypting ASCII and at most the
> entire Latin-1 set.

Looking back on Google I see that on 16 December 2013 I posted 
https://groups.google.com/d/msg/comp.lang.ada/qJ5vpRQarSQ/QNvyYgYVjewJ
which I've copied below.

So a year ago I demonstrated that

- minor tweaks will enable your code to:

  - deal with data on Windows and Unix systems and to transfer data
    between them, and

  - deal with binary data,

- but the cipertext is >30 times the size of the original (because you
  encode each byte of the input as 3 integers, represented as text).

These are practical matters and have nothing to do with the validity of
the encryption technology.

========================================================================
Austin Obyrne <austin...@hotmail.com> 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 
si...@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 
========================================================================


  parent reply	other threads:[~2014-12-04 15:25 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-02 11:57 The enormous potential that programming LaTeX in Ada presents Austin Obyrne
2014-12-02 14:07 ` David Botton
2014-12-02 14:49   ` Austin Obyrne
2014-12-03  3:52 ` Dennis Lee Bieber
2014-12-03 12:01 ` robin.vowels
2014-12-03 14:24 ` Denis McMahon
2014-12-03 15:54   ` Peter Chapin
2014-12-03 15:53 ` johannes falcone
2014-12-03 16:12 ` gautier_niouzes
2014-12-03 20:48   ` Austin Obyrne
2014-12-03 20:57     ` Pascal Obry
2014-12-03 22:39       ` mrvmurray
2014-12-03 22:29     ` mrvmurray
2014-12-03 22:34     ` Denis McMahon
2014-12-04  8:26       ` Austin Obyrne
2014-12-04  8:37         ` mrvmurray
2014-12-04 23:38         ` Shark8
2014-12-04  3:41     ` Dennis Lee Bieber
2014-12-05  7:04       ` Nasser M. Abbasi
2014-12-05 16:59         ` Dennis Lee Bieber
2014-12-04 15:25     ` Simon Wright [this message]
2014-12-04 16:31       ` Austin Obyrne
2014-12-04 18:24         ` Austin Obyrne
2014-12-05  8:21         ` mrvmurray
2014-12-05 18:42           ` Denis McMahon
2014-12-05 13:02       ` Austin Obyrne
2014-12-05 20:09         ` mrvmurray
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox