Lines Matching defs:a1
137 $a1 = $context->get('a1');
144 $kc = $this->generateKeyKc($a1, $cipher, $mcKc);
157 $ki = $this->generateKeyKi($a1, $mcKi);
175 $a1 = $context->get('a1');
181 $kc = $this->generateKeyKc($a1, $cipher, $mcKc);
184 $ki = $this->generateKeyKi($a1, $mcKi);
241 $ki = $this->generateKeyKi($context->get('a1'), $mc);
263 $ki = $this->generateKeyKi($context->get('a1'), $mc);
318 protected function generateKeyKi(string $a1, string $mc): string
320 return hash('md5', $a1 . $mc, true);
331 protected function generateKeyKc(string $a1, string $cipher, string $mc): string
335 substr($a1, 0, self::CIPHERS[$cipher]['kcn']) . $mc,