Search:

Type: Posts; User: fortune2k

Search: Search took 0.07 seconds.

  1. Re: 2d (4x4) array insdie a 1d array. (Block cipher)

    brilliant i got it working thanks for your help
  2. Re: 2d (4x4) array insdie a 1d array. (Block cipher)

    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<...
  3. Re: 2d (4x4) array insdie a 1d array. (Block cipher)

    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
  4. Re: 2d (4x4) array insdie a 1d array. (Block cipher)

    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 ?
  5. Re: 2d (4x4) array insdie a 1d array. (Block cipher)

    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++)
  6. Re: 2d (4x4) array insdie a 1d array. (Block cipher)

    im a little confussed on how id implement it


    i want somethinbg like


    WHILE text is NOT EVENLY DIVDED BY 16
    {
    plaintext +=d 'a'
    }
  7. Re: 2d (4x4) array insdie a 1d array. (Block cipher)

    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...
  8. 2d (4x4) array insdie a 1d array. (Block cipher)

    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...
Results 1 to 8 of 8