brilliant i got it working thanks for your help
Type: Posts; User: fortune2k
brilliant i got it working thanks for your help
I have just took a manual aproach to print out what comes in each block i was trying to put a print statement in the loop but this seems to work
code:
for(int x=0; x<...
it needs to be one big array because i need to substitutae a cell in 1 4x4 block with another one in a different 4x4 array
im pretty sure that the 3d array isnt what im after ive never used 3d arrays before im thinking it like a cube am i right ?
right at the moment i have
int w=0;
while(w !=hexarray.length)
{
for(int x=0; x< BlockArray.length; x++)
{
for(int y=0;y<4;y++)
im a little confussed on how id implement it
i want somethinbg like
WHILE text is NOT EVENLY DIVDED BY 16
{
plaintext +=d 'a'
}
I can get that code to work im taking it a step at a time.
What i have is i divde the number of chareacters by 16 to give a double number how ever i need to figure out how to make the...
Hi guys
I am trying to create my block cipher as part of a uni project and what the block cipher consists of is putting in the characters in blocks of 4x4 arrays and to map it it has a look...