Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sf.ntru
Class IndexGenerator

    java.lang.Object
      net.sf.ntru.IndexGenerator

     class IndexGenerator

extends java.lang.Object

Field Summary
`private java.nio.ByteBuffer` | `buf`
`private int` | `c`
`private int` | `counter`
`private java.security.MessageDigest` | `hashAlg`
`private int` | `hLen`
`private boolean` | `initialized`
`private int` | `minCallsR`
`private int` | `N`
`private int` | `nLen`
`private int` | `remLen`
`private byte[]` | `seed`
`private int` | `totLen`

Constructor Summary
`IndexGenerator(byte[] seed, EncryptionParameters params)`

Method Summary
`(package private) int` | `nextIndex()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### seed

    private byte[] seed

### N

    private int N

### c

    private int c

### minCallsR

    private int minCallsR

### totLen

    private int totLen

### remLen

    private int remLen

### buf

    private java.nio.ByteBuffer buf

### counter

    private int counter

### nLen

    private int nLen

### initialized

    private boolean initialized

### hashAlg

    private java.security.MessageDigest hashAlg

### hLen

    private int hLen

Constructor Detail

### IndexGenerator

    IndexGenerator(byte[] seed,
                   EncryptionParameters params)
             throws java.security.NoSuchAlgorithmException

Throws:
  `java.security.NoSuchAlgorithmException`

Method Detail

### nextIndex

    int nextIndex()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD