read iv from chiffre (still not correct but at least less wrong now)
This commit is contained in:
parent
3bc74649ad
commit
e04a341fc6
3 changed files with 8 additions and 8 deletions
|
@ -8,11 +8,9 @@ class CTRTest {
|
|||
|
||||
@Test
|
||||
void generateIV() {
|
||||
var ctr = new CTR(0);
|
||||
|
||||
int count = 0;
|
||||
while(count < Integer.MAX_VALUE) {
|
||||
int iv = ctr.generateIV();
|
||||
int iv = CTR.generateIV();
|
||||
assert (iv < 1 << 16);
|
||||
count++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue