Пример #1
0
 /**
  * @param $input
  * @param GeneratorPoint       $G
  * @param MathAdapterInterface $math
  */
 public function __construct($input, GeneratorPoint $G, MathAdapterInterface $math)
 {
     $this->dataType = $this->identify($input);
     $this->data = $input;
     $this->math = $math;
     $this->generator = $G;
     $this->modMath = $math->getModularArithmetic($G->getOrder());
 }