| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | protected function doRun() { |
||
| 21 | $privateKey = $this->getArgumentPrivateKey(self::argPrivateKey); |
||
| 22 | |||
| 23 | Common::required($privateKey); |
||
| 24 | |||
| 25 | $cryptTool = CryptTool::getInstance(); |
||
| 26 | |||
| 27 | $publicKey = $cryptTool->derivePublicKey($privateKey); |
||
| 28 | Common::l(Common::convertPublicKey($cryptTool->bin2hex($publicKey))); |
||
| 29 | } |
||
| 30 | } |
||
| 31 |