login about faq

Hi,

Can you help clarify how CTR counter is implemented internally? In my code, I randomly generate 16-byte array and use it to initialize CkCrypt2, how is this data used to calculate initial counter? And also how does counter increase in subsequent blocks?

Thank you

asked Feb 10 '15 at 23:50

Thomas's gravatar image

Thomas
32


The IV becomes the nonce in CTR mode. The counter is incremented for each subsequent block.

link

answered Feb 11 '15 at 10:59

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×33

Asked: Feb 10 '15 at 23:50

Seen: 785 times

Last updated: Feb 11 '15 at 10:59

powered by OSQA