Re: The Most Profound Distillation of the Feedack from Modern Cyptography.



On 9/26/2011 11:46 AM, Paulo Marques wrote:


Can you point me to the core encryption / decryption files?

Looking at the code in

http://adacrypt.com/downloads/Vector%20Cipher_2%20Program.zip

"REAL_TIME_ENCRYPTION_PROGRAM_MARK_2.adb"

seems to contain the algorithm. After all the
initialization, the loop from lines 720 to 759 actually does the encryption. The code reads one character from input at
line 740, and lines 741 through 759 encrypt it into 3 numbers,
which are then output.

The algorithm has a lot of global state, which is updated after
processing each input character. The global state is all
in global variables; there is no use of objects or structures,
which makes the code difficult to follow. What's going on doesn't
seem to be all that complex, and if rewritten clearly would probably
be about 200-300 lines of code.

I haven't tried to figure out what the thing is doing cryptographically,
but at least that's where it's being done.

John Nagle
.



Relevant Pages

  • Re: Reading and writing a big file in Ada (GNAT) on Windows XP
    ... memory for a substring; this is very descriptively called memmemand ... common cases (no mapping, single character patterns, and so on). ... So in this case a better algorithm is probably the way to go (and I ... the source length is>M and the pattern length is>N, ...
    (comp.lang.ada)
  • Re: Regular Expression for validating a url field
    ... (Do not use the tab character for indentation, ... against a supposed string value, and since you do not do perform a strict ... If x is NaN, return false. ... `false' is returned to the calling algorithm, ...
    (comp.lang.javascript)
  • Re: Paper & pencil password algorithm
    ... but I have to try to find an algorithm ... need for algorithmic passwords is rather great and increasingly urgent, ... I would look at bigger character sets and here are the results. ... There are other uses for these bases, 66 is good for a stream cipher, ...
    (sci.crypt)
  • Re: Reading and writing a big file in Ada (GNAT) on Windows XP
    ... this kind to compile the 'needle' into some automaton which could skip ... If the automaton sees a character that is ... So in this case a better algorithm is probably the way to go (and I ... write your programs with a standard library routine, ...
    (comp.lang.ada)
  • Re: Question about bit strength
    ... Make good guesses about strength of an encryption soultion is not very ... The algorithms used to derive the key and for actual encryption process ... algorithm is at most equal to the number of steps needed to break it; ... method 2 using every character in the bit range bar the first 15. ...
    (sci.crypt)