Basis interface for classes implementing the Length-Based attack. More...
#include <LengthAttack.h>
 
  
 | Public Member Functions | |
| virtual int | type ()=0 | 
| Returns the algorithm type. | |
| virtual findKey_LengthBasedResult | findKey_LengthBased (int N, const vector< Word > &A1, const vector< Word > &A2, const vector< Word > &B, int sec=9999999, ostream &out=cout)=0 | 
| Attack on an instances of the AAG protocol. | |
Basis interface for classes implementing the Length-Based attack.
Definition at line 32 of file LengthAttack.h.
| virtual findKey_LengthBasedResult LengthAttackBase::findKey_LengthBased | ( | int | N, | |
| const vector< Word > & | A1, | |||
| const vector< Word > & | A2, | |||
| const vector< Word > & | B, | |||
| int | sec = 9999999, | |||
| ostream & | out = cout | |||
| ) |  [pure virtual] | 
Attack on an instances of the AAG protocol.
Executes a length-based attack on an instance of the AAG protocol
| N | - rank of the braid group (number of strands) | |
| A1 | - Alices subgroup generators | |
| A2 | - Alices subgroup generators conjugated by Bob's private key | |
| B | - Bob's subgroup (Bob's private key belongs to it) | |
| sec | - amount of time (in seconds) given to procedure to finish | 
Implemented in LengthAttack_A1, LengthAttack_A2, and LengthAttack_A3.
| virtual int LengthAttackBase::type | ( | ) |  [pure virtual] | 
Returns the algorithm type.
Implemented in LengthAttack_A1, LengthAttack_A2, and LengthAttack_A3.
 1.6.1
 1.6.1