From: Kristian Gj�steen on 19 Jun 2010 15:00 Thomas <thomas.beneteau(a)yahoo.fr> wrote: >how should I handle the initialization >vector If you are uncomfortable with IV's and CTR mode, then probably you should look up something like GCM or CCM mode, which simplify IV management. -- kg
From: Mok-Kong Shen on 20 Jun 2010 07:00 Thomas wrote: > Basically, what I'm asking is how to manage initialization vectors [snip] You can use a block cipher and a master-key (destined for longer term use) and some message-specific informations, that are known to the recipient anyway (message no., date, time, subject, etc.) and require no additional transmission, to generate in CTR mode a message-specific (unique) key and IV (and what else you may need) to process your message. You could also, if you like, obtain a number of keys this way and use them "dynamically" for block encryption of your given message. See also my post "On the general benefits of introducing dynamics into encryption processing" of 01.05.2010. M. K. Shen
From: Thomas on 21 Jun 2010 05:42
Thanks everyone for your help and replies, I really appreciate it ! On 20 juin, 23:00, Mok-Kong Shen <mok-kong.s...(a)t-online.de> wrote: > Thomas wrote: > > Basically, what I'm asking is how to manage initialization vectors > > [snip] > > You can use a block cipher and a master-key (destined for longer term > use) and some message-specific informations, that are known to the > recipient anyway (message no., date, time, subject, etc.) and require > no additional transmission, to generate in CTR mode a message-specific > (unique) key and IV (and what else you may need) to process your > message. You could also, if you like, obtain a number of keys this way > and use them "dynamically" for block encryption of your given message. > See also my post "On the general benefits of introducing dynamics into > encryption processing" of 01.05.2010. > > M. K. Shen Hello Mr M.K. Shen, Thank you for your tips, I'll read the post you refer to. Thanks again. |