| Total Complexity | 7 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class BoxKeypair extends CryptoKeypair{ |
||
| 16 | |||
| 17 | /** @inheritdoc */ |
||
| 18 | public function create(string $seed_bin = null):CryptoKeyInterface{ |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @param string $secret_bin |
||
| 43 | * |
||
| 44 | * @return \chillerlan\Traits\Crypto\CryptoKeyInterface |
||
| 45 | * @throws \chillerlan\Traits\Crypto\CryptoException |
||
| 46 | */ |
||
| 47 | public function createFromSecret(string $secret_bin):CryptoKeyInterface{ |
||
| 63 |