Originally Posted By: Gargoyle


I.E. Input = This is n0t 4 real.

With a block size of 5 and permutation of 53214

Now my problem is that my first block = "This ", position 5 is a space, so therefor it should stay in position 5 but I have already put "T" into position 5.

I am not grasping how to reconcile what the permutation becomes.


 Code:
This i|s n0t 4 re|al
5321 4|5 3 2   14|21

sihi T|r t0n 4 es|la
1234 5|1 2 3   45|12


so you first have to create a string with only letters and work the permutation from there.


Edited by DrillSergeant (2007-08-10 07:14 PM)
_________________________
The Code is out there