comp.lang.ada
 help / color / mirror / Atom feed
* Formatting Re-opened Ciphertext Problem.
@ 2013-09-03 20:58 Austin Obyrne
  2013-09-04  2:36 ` Dennis Lee Bieber
  0 siblings, 1 reply; 5+ messages in thread
From: Austin Obyrne @ 2013-09-03 20:58 UTC (permalink / raw)


Alice and Bob are the entities of a secure communications loop – they use identical programs such that anything Alice encrypts in her Ada-95 program Bob should be able to decrypt in his identical program software.

This involves Alice sending her file of ciphertext after encryption of some plaintexts as an attachment to an open email to Bob.

*Alice’s file of ciphertext is copy ‘n pasted as a Word document file in Microsoft Word for calling later to go as the attachment to the email.

Problem.

When Alice encrypts something like say the word ‘milestone’ her ciphertext as integers is stored as a file of some 27 integers of ciphertext – that’s ok – but when she re-opens the file if ciphertext again in her gnat 311.p editor (AdaGIDE editor) so as to make it into a Word document for sending to Bob (which she can do ok) she finds that the spacing between the integers is now four spaces between each integer instead of what she would like to be just 1 conventional space.  This increases the volume of ciphertext to be copy 'n pasted as a Word document considerably which she does not want.

The upshot is that the eventual file of ciphertext in the case of a large file (of 30000 characters actually to hand) being sent to Bob as a word document is so large now because of the enlarged spacing that his editor can’t take it and he can only decrypt a portion of the full message (which he can do ok – but stops at 992 characters instead of 30000).  All of this because of the spacing in the ciphertext being 4 spaces instead of 1.

Question: Can Alice control the spacing of the ciphertext by any means when it is reopened after encrypting it initially in her AdaGIDE editor. (I have looked at the tools options in AdaGIDE – ‘interval’ setting? Change it to 1 But no effect)

In other words can I somehow format the way the ciphertext reopens in the AdaGIDE editor – i.e. can I regulate the spacing to be just 1 space and not 4 spaces.

Your help would be greatly appreciated.   This scheme depends on being able to solve this problem.  It is a good scheme otherwise.

Thanks in anticipation.

Adacrypt

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-09-05  2:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-03 20:58 Formatting Re-opened Ciphertext Problem Austin Obyrne
2013-09-04  2:36 ` Dennis Lee Bieber
2013-09-04  7:15   ` Austin Obyrne
2013-09-05  2:50     ` Dennis Lee Bieber
2013-09-04  8:20   ` Austin Obyrne

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