package com.kryptnostic.kodex.v1.client;

import java.util.List;

import cern.colt.bitvector.BitVector;

import com.kryptnostic.multivariate.gf2.SimplePolynomialFunction;

/**
 * KryptnosticContext is responsible for maintaining shared state between the KryptnosticClient and Kryptnostic
 * services.
 * 
 * @author Nick Hewitt &lt;nick@kryptnostic.com&gt;
 *
 */
public interface KryptnosticContext {
    SimplePolynomialFunction getSearchFunction();

    void setSearchFunction(SimplePolynomialFunction searchFunction);

    List<BitVector> getNonces();

    void addNonces(List<BitVector> nonces);

}

@@ -450,78 +450,8 @@
 );%0A%0A
-    void setSearchFunction(SimplePolynomialFunction searchFunction);%0A%0A
     
@@ -525,10 +525,41 @@
 nces);%0A%0A
+    BitVector generateNonce();%0A
 %7D%0A

Refactor KryptnosticContext