• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

azjezz / psl / 22639242943

03 Mar 2026 07:30PM UTC coverage: 97.792% (-0.4%) from 98.201%
22639242943

Pull #607

github

azjezz
feat: introduce `Crypto` component

Signed-off-by: azjezz <azjezz@protonmail.com>
Pull Request #607: feat: introduce `Crypto` component

348 of 394 new or added lines in 49 files covered. (88.32%)

2 existing lines in 1 file now uncovered.

9302 of 9512 relevant lines covered (97.79%)

39.03 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Psl/Crypto/KeyExchange/constants.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Psl\Crypto\KeyExchange;
6

7
use const SODIUM_CRYPTO_SCALARMULT_BYTES;
8
use const SODIUM_CRYPTO_SCALARMULT_SCALARBYTES;
9

10
/**
11
 * The length of a key exchange secret key in bytes.
12
 *
13
 * @var positive-int
14
 */
NEW
15
const SECRET_KEY_BYTES = SODIUM_CRYPTO_SCALARMULT_SCALARBYTES;
×
16

17
/**
18
 * The length of a key exchange public key in bytes.
19
 *
20
 * @var positive-int
21
 */
NEW
22
const PUBLIC_KEY_BYTES = SODIUM_CRYPTO_SCALARMULT_BYTES;
×
23

24
/**
25
 * The length of the shared secret in bytes.
26
 *
27
 * @var positive-int
28
 */
NEW
29
const SHARED_SECRET_BYTES = SODIUM_CRYPTO_SCALARMULT_BYTES;
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc