comp.lang.ada
 help / color / mirror / Atom feed
From: adacrypt <austin.obyrne@hotmail.com>
Subject: Ada, Concurrency and Cryptography.
Date: Sun, 20 Jun 2010 06:22:27 -0700 (PDT)
Date: 2010-06-20T06:22:27-07:00	[thread overview]
Message-ID: <ab879ba9-12fb-4329-977e-248b7e856131@u26g2000yqu.googlegroups.com> (raw)



I don’t profess to be very knowledgeable on the finer points of Ada’s
advantages so I will ask my question of more informed people and
hopefully get some guidance from some person.

In the cryptography that I have invented my encryption program and
corresponding decryption program both work in much the same way so its
only necessary to describe one in order to ask my question.

The encryption program (this will do) reads in a character from an
external batch file and encrypts it in between reading the next
character in the next pass of the same loop.  The program is comprised
of a pair of nested loops.  The inner loop is terminated by
end_of_line and the outer loop is terminated by end_of_file.  The
encryption speed on an elderly home computer is 15000 characters per
second which is ok for this development model but not great for a
serious working cipher.  I want to speed it up.

Question: If the encryption work was done in a separate CPU in another
location immediately after the character is read in would this speed
up the process very much.  Is this proposition feasible i.e a loop
that reads in characters only for encryption in a separate CPU
elsewhere.  Is this an example of concurrency in programming?  Is it
to be recommended as the best solution to increasing the encryption
rate of my ciphers.

Your help in answering these questions would be greatly appreciated -
adacrypt





             reply	other threads:[~2010-06-20 13:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-20 13:22 adacrypt [this message]
2010-06-21 14:46 ` Ada, Concurrency and Cryptography Warren
2010-06-21 20:10   ` Non scrivetemi
2010-06-22 13:47     ` Charmed Snark
replies disabled

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