I'd like to share an encryption method

Discussion in 'iOS Programming' started by sergio27, Jul 1, 2009.

  1. sergio27 macrumors member

    Joined:
    Nov 2, 2008
  2. jnic macrumors 6502a

    Joined:
    Oct 24, 2008
    Location:
    Cambridge
    #2
    Your implementation uses a fixed IV, which in CBC mode would allow an attacker to infer when messages are repeated, based upon the first block.
     

Share This Page