In Advanced Encryption Standard, If I used "Counter Mode", in it's nonce value, what should I do?
ex. should I divide the nonce value into two? ex. I have 128-bit of nonce, should I divide it from two? that will turn into 64-bit each?
the first 64-bit is my chosen nonce value.. ex: a0a1a2a3a4a5a6a7 and the second 64-bit is the counter... ex: 0000000000000001
is this correct?
in the sequence of the counter, how is it really works?
ex. 0000000000000001, 0000000000000002, ... 000000000000000f, 0000000000000010, 0000000000000011, .......... 00000000000000ff
is this also correct?
Follow-up question: after 00000000000000ff, what is the next counter value? is it 000000000000ff00? and then 000000000000ff01, 000000000000ff02, 000000000000ff03, 000000000000ff04?