Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
11 | public function testKeypairGeneration() |
||
12 | { |
||
13 | $keypair = Utils::generateKeypair(); |
||
14 | $this->assertEquals(\get_class($keypair), 'ncryptf\Keypair'); |
||
15 | $this->assertEquals(32, \strlen($keypair->getPublicKey())); |
||
16 | $this->assertEquals(32, \strlen($keypair->getSecretKey())); |
||
17 | } |
||
35 |