HFE
Interface CheckRoot

All Known Implementing Classes:
HFE2_n, RootFinding

interface CheckRoot

Interface for RootFinding. Checks if a root found is really the root we wanted. If so, class RootFinding can stop to search for this root.

Version:
0.1

Method Summary
 boolean checkRoot(Field2_n root)
          Checks if the root is the one which is wanted by HFE.
 

Method Detail

checkRoot

public boolean checkRoot(Field2_n root)
Checks if the root is the one which is wanted by HFE. In a signature scheme, this method always signals true. In a decryption scheme, however, it depends on additional information, e.g. a hash value of root.
Returns:
true iff the root is the correct one